jquery searchabledropdown

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

  1. $(document).ready(function() {
  2.             var vmaxListSize = 1900;
  3.                  $("select").searchable({ 
  4.                    maxListSize: vmaxListSize,                      
  5.                    maxMultiMatch: vmaxListSize,                  
  6.                    exactMatch: true,                     
  7.                    wildcards: true,                       
  8.                    ignoreCase: true,                    
  9.                    latency: 0,                          
  10.                    warnMultiMatch: 'top {0} matches ...', 
  11.                       warnNoMatch: 'no matches ...',       
  12.                    zIndex: 'auto'                         
  13.              }); 
  14.            
  15.         });