I have jquery chosen dropdown that works fine for my need. The only requirement I have is can we get the matched search results (options that starts with search key) at the top.
If I have 3 options Foo
, Boo
, ooo
then search for oo
. Getting the results in alphabetical order like Boo
, Foo
, ooo
. But, can we get a result like ooo
, Boo
, Foo
.
$('.chosen-select').chosen({
width: "100%",
search_contains: true
});
I'm not sure if the plugin has any support for this. Please suggest.