fix #1314 - limit doesn't work properly with more than one digit
the suggestions where sliced with: rendered += suggestions.length; suggestions.slice(0, that.limit - rendered)
which is fine as long as limit < suggestions.length because slicing with a negative index works but if limit = suggestions.length then no element is rendered. if limit > suggestions.length then the results are truncated.
I just ran into the same issue. If limit == suggestions it shows no results. suggestions.slice(0, 0) -> [] :(
@PierreAnctil 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
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.