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

Input of type number does not trigger onChange when pasting text #2317

Closed
jephtta opened this issue Nov 14, 2017 · 1 comment
Closed

Input of type number does not trigger onChange when pasting text #2317

jephtta opened this issue Nov 14, 2017 · 1 comment
Labels

Comments

@jephtta
Copy link

jephtta commented Nov 14, 2017

Steps

Copy and paste some text (not a number) into an < Input type="number" />

Expected Result

The onChange event of the Input should be triggered.

Actual Result

The onChange event of the Input is not triggered. However, onChange is triggered if the input's type is not a number.

Version

0.76.0

@layershifter
Copy link
Member

It's a known React's issue, see facebook/react#11142.

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

2 participants