-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
typeahead: ignore some keys #5286
Comments
Hey @benjaminclot, Thanks for opening this issue! Unfortunately, it looks like it fails to pass the criteria neccessary for submitting to bootstrap. The following things are currently failing:
For a full list of issue filing guidelines, please refer to the bootstrap issue filing guidelines. thanks! |
Hi @malandrew, I don't see how any jsfiddle/jsbin would be relevant? I use an ajax source and clearly see ajax calls each time I hit SHIFT or CTRL or ALT... I guess you could console.log on each lookup(). |
@benjaminclot That comment is usually a result of someone running |
adding the ignore keys in 2.1.2 thanks guys |
Remated to twbs/bootstrap#5286
Hi,
When a typeahead is filled with enough characters (more than minLength), if you only hit the SHIFT key, lookup() is called. I think it should be ignored, along with some other keys (CTRL, ALT, ALTGR...). Or ignore any input that doesn't alter the value of the query or its length?
Benjamin
The text was updated successfully, but these errors were encountered: