typeahead.js icon indicating copy to clipboard operation
typeahead.js copied to clipboard

FIX: Typeahead "limit" if equal to results returned, shows "no-data"

Open gabrieljenik opened this issue 9 years ago • 4 comments

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.

gabrieljenik avatar Oct 29 '15 14:10 gabrieljenik

Was about to apply the same fix myself. It would be nice to have this merged

PMPP avatar Dec 09 '15 14:12 PMPP

Similar discussions and issues #1499 #1497 #1485 #1451

MerickOWA avatar Mar 30 '16 17:03 MerickOWA

CLA assistant check
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.

CLAassistant avatar Jul 18 '19 15:07 CLAassistant

How do I sign the CLA?

gabrieljenik avatar Jul 18 '19 15:07 gabrieljenik