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

webkit-autofill doesn't trigger the onChange event #3483

Closed
rkmax opened this issue Feb 26, 2016 · 3 comments
Closed

webkit-autofill doesn't trigger the onChange event #3483

rkmax opened this issue Feb 26, 2016 · 3 comments
Labels
component: text field This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists

Comments

@rkmax
Copy link
Contributor

rkmax commented Feb 26, 2016

I have two textfields, both of them have a onChange func waiting to be called each time the func is called a validation occurs and if some error is found using setState update the errorText property where is need.

the problem is the webkit-autofil (on chrome) fills both fields the onChange event is trigger for the first one but not for the second one leaving the error on the second field and this last one have the focus

my business logic disable the submit button if there's errors. any advice how to sort this issue?

@mbrookes
Copy link
Member

Dupe of #718?

@rkmax
Copy link
Contributor Author

rkmax commented Feb 26, 2016

@mbrookes I think this but quite related to #718 but in this case the onChange is triggered once

@tintin1343
Copy link
Contributor

Closing this as its a potential duplicate.

@zannager zannager added component: text field This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists labels Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: text field This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants