Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author pragmaticmates

    (@pragmaticmates)

    Hi,

    this is possible only writing custom code. We are using CMB2 plugin for custom fields. I recommend you to check their documentation for more information.

    Cheers

    Feel free to use:

    
    <script>
    var input = document.getElementById('filter_widget-2_price_from'),
    parent = input.parentNode,
    select = document.createElement('SELECT');
    
    select.id = input.id;
    select.innerHTML =
    '<option value="1">1</option>' + 
    '<option value="2">2</option>';
    select.name = input.name;
    
    parent.insertBefore(select, input);
    parent.removeChild(input);
    </script>
    
    • This reply was modified 7 years, 11 months ago by Bareza.
    • This reply was modified 7 years, 11 months ago by Bareza.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing Select type from check boxes to dropdown’ is closed to new replies.