TAB event doesn't trigger typeahead:selecetd
See original GitHub issueHow to repeat :
var myCustomCallback = function(eventObject, suggestionObject, datasetName) {
alert('hello');
}
myTypeAhead.on('typeahead:selected', myCustomCallback);
Then navigate on your autocomplete field, type few letter so you get a list of items, and then press TAB. It will select the first item, but it won’t trigger the :selected event.
Issue Analytics
- State:
- Created 10 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Triggering "selected" event in typeahead.js - Stack Overflow
I am binding functions to the typeahead:selected and typeahead:autocompleted events so that I can populate some other hidden input fields in the ...
Read more >jQuery Typeahead Search Configuration - RunningCoder
This function will trigger after the regular behaviors. onDropdownFilter (node, a, item, event). Will be executed when a dropdown filter is selected. Requires ......
Read more >Typeahead input field - ServiceNow Developers
Users can interact with typeahead through the input field and dropdown panel. This includes any field decorators. Selection. A user can select the...
Read more >Angular directives for Bootstrap - AngularUI
typeahead -should-select($event) $ (Default: null ) - A callback executed when a keyup event that might trigger a selection occurs. Selection will only...
Read more >Building an accessible autocomplete control - Adam Silver
Users can select a suggestion to complete their entry quickly and ... But this doesn't work for an autocomplete control because the text...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jharding it works great with typeahead:autocompleted thanks alot.
This would be great as an option. I am sure some people might not want TAB to trigger selected, but I (and apparently the OP) would find it useful.
Maybe an addition to “autoselect” where TAB could also be used in addition to “ENTER”