typeahead.js
typeahead.js copied to clipboard
FIX: Typeahead "limit" if equal to results returned, shows "no-data"
Merging into src files the changes suggested in issue #1299. When suggestions length equals the limit, no data was shown, as slice was asked to cut zero elements.
The bug also caused strange behavior when suggestion's length is higher than limit, as negative indexes were introduced.
Was about to apply the same fix myself. It would be nice to have this merged
Similar discussions and issues #1499 #1497 #1485 #1451
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.
How do I sign the CLA?