How to set resultsLimit of jQuery token input plugin? -
how set limit 10 should token input plugin
suggest ? want set limit 10 jquery token input plugin
can suggest 10 search.
i have tried resultslimit: 10
in initialization function still not working.
any solution ?
i had same issue , got work modifying token input js file. add following pieces of code.
line 46 : resultslimit: null, line 680 : in populate_dropdown function //setting search limit if (results.length > settings.resultslimit) { results = results.slice(0, settings.resultslimit); }
reference: https://github.com/loopj/jquery-tokeninput/issues/542
Comments
Post a Comment