-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 TAB unwanted behavior #686
Comments
In #490 someone asked to add this "feature". |
rbaarsma
added a commit
to rbaarsma/ng2-bootstrap
that referenced
this issue
Jul 5, 2016
…mply skip to next field as expected. Solves valor-software#686 and valor-software#490
rbaarsma
added a commit
to rbaarsma/ng2-bootstrap
that referenced
this issue
Jul 5, 2016
…mply skip to next field as expected. Solves valor-software#686 and valor-software#490
valorkin
added a commit
that referenced
this issue
Jul 11, 2016
@rbaarsma Any idea on when would this fix be available to download through NPM? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The typeahead specifically selects the active match when pressing TAB, but I think this is simply wrong.
ENTER should select the active match (as it does)
TAB should not select anything and simply move to the next field (default behavior)
To fix this only a single line needs to change in
typeahead.directive.ts
:145 this.container.selectActiveMatch();
==>
145 this.hide()
If you guys agree I could make a pull request, but it would be simpler for me if someone from the core team can just fix it ;)
The text was updated successfully, but these errors were encountered: