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

Support "invalid" event #5337

Closed
simonewebdesign opened this issue Oct 30, 2015 · 2 comments
Closed

Support "invalid" event #5337

simonewebdesign opened this issue Oct 30, 2015 · 2 comments

Comments

@simonewebdesign
Copy link
Contributor

Hi, just wondering if the invalid event is currently supported?

I tried using something like:

handleInvalid(event) { ... }

<input type="text" onInvalid={this.handleInvalid} />

But it doesn't work. I have to manually attach the event handler to the actual DOM node in order to get it working.

So, is the invalid event actually supported?

If not, any plans on supporting it?

@jimfb
Copy link
Contributor

jimfb commented Oct 30, 2015

I don't see it on the list: https://facebook.github.io/react/docs/events.html

Yes, it would be good to support all the browser events. Would you like to submit a PR?

@zpao
Copy link
Member

zpao commented Oct 30, 2015

This was added recently but is not a part of a release. #5187

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

No branches or pull requests

3 participants