Dropdowns

We use jQuery Chosen (v0.9.8) plugin and original plugin styling

require(['jquery.chosen'], function () { ... });
      
$(".component_row select").chosen();
      
<div class="component_row">
  <select name="category">
  <option value="" selected="selected">All</option>
  <option value="1">Thing One</option>
  <option value="2">Thing Two</option>
  <option value="3">Thing Three</option>
  </select>
</div>

Known issues

  • onChange event is triggered multiple times wich causes multiple AJAX requests and created race condition.