jquery searchabledropdown
Hi All -
I am using jquery searchable dropdown plugin, and I am facing some issues as follows:
- firstly I think the plugin starts searching as soon as the document is ready and that too with the first default value. How can I make sure that the search starts only once I start typing because the first option I have in my drop down is 'select an option'.
- the initial size it is taking is the maxMultiMatch list, instead of maxListSize. I overcame the above two problems using maxMultimatch to the value of maxListSize, but the performace is very very slow. Can anyone let me know if I am missing anyoptions. Right now my function is as follows
- $(document).ready(function() {
- var vmaxListSize = 1900;
- $("select").searchable({
- maxListSize: vmaxListSize,
- maxMultiMatch: vmaxListSize,
- exactMatch: true,
- wildcards: true,
- ignoreCase: true,
- latency: 0,
- warnMultiMatch: 'top {0} matches ...',
- warnNoMatch: 'no matches ...',
- zIndex: 'auto'
- });
-
- });