Retain Select Classes, Disable Split Words
Add an option to inherit initial select classes
When enabled, this option will grab any class names off the initial select and add them to Chosen's container div:
Take:
<select id="copyClasses" classes="this-class-comes-with">
...
</select>
Run:
$("#copyClasses").chosen({ inherit_select_classes: true; });
Get:
<div id="copyClasses_chzn" class="... this-class-comes-with">
...
</div>
(#917)
Add an option to disable searching split words
By default, Chosen will attempt to search across words by splitting option text at a space. For example, a search of "Stat" will match "United States". This can now be disabled:
$("select").chosen({ enable_split_word_search: false });