Skip to content
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

fix(typeahead): pressing enter submits form when choosing element #359

Closed
fkowal opened this issue Apr 1, 2016 · 5 comments
Closed

fix(typeahead): pressing enter submits form when choosing element #359

fkowal opened this issue Apr 1, 2016 · 5 comments
Labels
Milestone

Comments

@fkowal
Copy link
Contributor

fkowal commented Apr 1, 2016

<form><input [(ngModel)]="someField" typeahead... required></form>

when i hit enter to select an active element in the typeahead dropdown
the (submit) event on the form before the ngModel is populated with the selected item's data

@valorkin valorkin changed the title typeahead submits form when choosing element fix(typeahead): pressing enter submits form when choosing element Apr 1, 2016
@valorkin valorkin added this to the beta.14 milestone Apr 1, 2016
@valorkin valorkin added the issue label Apr 1, 2016
@manuelCorredor
Copy link

Can you pls release this patch? I'm using this on a form and I really need this fix

Thanks

@valorkin
Copy link
Member

valorkin commented Apr 2, 2016

OK, I will do it later today

@manuelCorredor
Copy link

Thank you very much

@manuelCorredor
Copy link

Sorry, me again @valorkin, I'm looking forward to hear from you :)

@valorkin
Copy link
Member

valorkin commented Apr 8, 2016

almost there #388

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants