Skip to content

Fix moving to next input with tab key#8

Open
cvuorinen wants to merge 1 commit into
yohaiai:masterfrom
cvuorinen:patch-1
Open

Fix moving to next input with tab key#8
cvuorinen wants to merge 1 commit into
yohaiai:masterfrom
cvuorinen:patch-1

Conversation

@cvuorinen

Copy link
Copy Markdown

Preserve normal behavior for tab, enter and esc keys by not triggering the popup if there is already a value selected.

Previously tab key wasn't working properly with this directive as pressing tab key didn't move to next input field but just triggered the typeahead popup again. Same with enter and esc keys, previously they would just blink and trigger the popup again.

Fixes http://stackoverflow.com/questions/24764802/angular-js-automatically-focus-input-and-show-typeahead-dropdown-ui-bootstra#comment55759378_27331340

Do not trigger the popup when "hot key" pressed if model has value

Preserve normal behavior for tab, enter and esc keys by not triggering the popup if there is already a value selected.
@fracz

fracz commented Dec 28, 2015

Copy link
Copy Markdown

I can confirm this fixes the issue.
Thank you!

@fracz

fracz commented Feb 25, 2016

Copy link
Copy Markdown

Can we hope for this to be merged soon?

@cvuorinen

Copy link
Copy Markdown
Author

Ping @yohairosen

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants