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

Fix for remote/async suggestions

Open kricklen opened this issue 10 years ago • 3 comments

This is probably the same issue as in #1284 but have a look. There seems to be a problem when rendering the suggestions of a remote request. To reproduce, set the typeahead limit=2 and have 2 items returned from the remote source => no suggestions will be rendered. In this case the following values are set: rendered=0, limit=2, suggestions.length=2, which results in 0 sliced items. Damn nasty thing to notice, since it only occurs when limit=suggestions.length (and because slice accepts negative numbers) :)

kricklen avatar Aug 20 '15 11:08 kricklen

@kricklen 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

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 18 '19 15:07 CLAassistant