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

Fixed rendered item counts for async remote typeahead.

Open ztratar opened this issue 9 years ago • 5 comments

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.

ztratar avatar Aug 27 '15 23:08 ztratar

Up! I have the same problem :(

morontt avatar Sep 03 '15 11:09 morontt

@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

core-system-dev avatar Sep 24 '15 13:09 core-system-dev

Looks like a duplicate of #1212, has been fixed over at corejavascript/typeahead.js#8

jlbooker avatar Oct 05 '15 01:10 jlbooker

Solve my problem!

chanllen avatar Nov 24 '15 03:11 chanllen

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