Open tannerli opened 2 years ago
maxResults: -1,
This line cause your error. If you want remove limitation of list length than set maxResults to undefined. See #378
@IvAndrew Thanks for your input. Tbh, it was a pressing issue for me/us, so we migrated away from this lib in favour of https://github.com/twitter/typeahead.js/
So I sadly cannot test your proposed fix anymore.
System information
Describe the bug Certain items seem are not matched for every search-string. I initialized an autocomplete with a list with ~150 entries, among others:
the autocomplete config is as follows:
Now, the first of these items is matched for any substring of it's name, like
trock
,shampoo
,haar
:However, the second Item is never matched, despite having the same substrings in it's name. I only could get it to mtch using the
None
at the start, but no other search string worked, in eitherstrict
orloose
engine setting nor when playing around: with capitalizationExpected behavior Since the second element can be matched, I assume it to be loaded correctly in the autocomplete. Therefore I would expect it to be matched for any Substring in it's
name
, likeShampoo
,normal
orHaar