-
Notifications
You must be signed in to change notification settings - Fork 98
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
Limiting results after X characters entered #17
Comments
Try this: var horse = horsey(el, filter: function (q, suggestion) {
if (q.length < min) {
return false;
}
return horse.defaultFilter(q, suggestion);
}); |
I guess I'm trying to use it incorrectly
|
Does that not work for you? |
Am I using it correctly? Doesn't seem too |
You have an extra |
This works
|
Cool! |
Hi @bevacqua , It works, but does not prevents the |
Struggling with one thing, If I wanted to not show the autocomplete options until a user has entered X number of characters how would I do it, I suspect it has to do with filter but I'm having zero luck
The text was updated successfully, but these errors were encountered: