typeahead.js
typeahead.js copied to clipboard
Fixed rendered item counts for async remote typeahead.
Alleviates issue of initial suggestions being of same count as the limit and incorrectly displaying 0 results.
Previously had the server returning 5 objects and with a limit of 5, the rendered count would increase and then splice the suggestions into an empty array -- clearly not intended functionality. An item should only be counted as rendered after it is rendered.
Up! I have the same problem :(
@ztratar Could you please re-submit this PR to github:corejavascript/typeahead.js. This project pretty much has been abandoned, and we continue now on a new fork. For more information please see #1320
Looks like a duplicate of #1212, has been fixed over at corejavascript/typeahead.js#8
Solve my problem!
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.