jQuery.SimpleSelect icon indicating copy to clipboard operation
jQuery.SimpleSelect copied to clipboard

added "filter" option, to dinamically exclude given <option>s from <select>

Open madbob opened this issue 7 years ago • 1 comments

Requires update of the compressed version.

madbob avatar Apr 28 '17 15:04 madbob

+1 - Nice addition and works like a charm.

As I didn't find the documentation for this new feature, here is how to use it, it might help someone:

Add class="hidden" to any <option> you want to hide. That's it!

And if the class="hidden" is programmatically added, you'll just need to refresh your simpleselect with $(selector).simpleselect('refreshContents') to make the select reflect the changes.

ctissier avatar Mar 16 '18 18:03 ctissier