Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Pressing enter in a form on a textbox opens select #42

Closed
ghost opened this issue Apr 1, 2014 · 1 comment
Closed

Pressing enter in a form on a textbox opens select #42

ghost opened this issue Apr 1, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 1, 2014

Hi,

when pressing "enter" in a textbox in a form instead of submitting the form, the select control opens. the reason is, that the "button" in the "bootstrap/match.tpl.html" has no type and so its default type is submit.

The browser is Chrome 33

Fix: Add type="button" to the button in the template above

@tkrotoff
Copy link
Contributor

tkrotoff commented Apr 1, 2014

Thanks for the report.

@tkrotoff tkrotoff added the bug label Apr 12, 2014
malexandre added a commit to malexandre/ui-select that referenced this issue May 13, 2014
v0.2.0 didn't include the fix angular-ui#42. Needed it.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant