Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestions "limit" settings #1324

Open
pr0sper opened this issue Jul 20, 2015 · 5 comments
Open

Suggestions "limit" settings #1324

pr0sper opened this issue Jul 20, 2015 · 5 comments

Comments

@pr0sper
Copy link

pr0sper commented Jul 20, 2015

Hi,

There is a problem when the suggestions size equals to the limit settings, no suggestion appears.
After debugging, I noticed that slicing an array with arguments (0, 0) is maybe the problem (@see typeahead.jquery.js line 811 @Version 0.11.1)

@jessedvrs
Copy link

Hi, I can confirm this issue. It makes my autocomplete quite unreliable. Please take a look at this (expected) results table.
screen shot 2015-07-21 at 11 37 37

@pkrecker
Copy link

Also discovered this problem today. The table illustrates the exact problem we were having.

@letnotimitateothers
Copy link

I also think there is a problem with the suggestion limit. I'm doing some tests. On a prefetched table of 3 items (json), the typeahead suggestion list only presents 2 items. If I use a limit of 3, the suggestion list still displays 2 items. If I use a limit of 10, it displays all the 3 items of my prefetched table.
Any explanation about this issue is welcome.
Thanks!

@buehler
Copy link

buehler commented Jul 23, 2015

#1319 does fix it. This should be merged asap ;-)

@anotheri
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

6 participants