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

OnEnter Key nothing happens #59

Closed
arukumar opened this issue Aug 11, 2016 · 1 comment
Closed

OnEnter Key nothing happens #59

arukumar opened this issue Aug 11, 2016 · 1 comment

Comments

@arukumar
Copy link

Hi, after clicking on input box and hit enter key nothing happen.
`


`

please have a look, in version 0.8.2 its working but upgraed version is not working

@ericgio
Copy link
Owner

ericgio commented Aug 11, 2016

This was intentionally added in v0.8.3 to prevent inadvertently submitting forms (or triggering other controls) when hitting enter while the input is focused. This would be fairly common, for example, while keying through the options and hitting enter to select an option.

If you want to submit the form as soon as the selection is made, I suggest doing that within _handleChange and not using an onSubmit handler attached to a form.

@ericgio ericgio closed this as completed Aug 11, 2016
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

No branches or pull requests

2 participants