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

AsyncValidate triggering on change instead of on blur #3645

Closed
jedrzej-bridgemaker opened this issue Nov 29, 2017 · 3 comments
Closed

AsyncValidate triggering on change instead of on blur #3645

jedrzej-bridgemaker opened this issue Nov 29, 2017 · 3 comments

Comments

@jedrzej-bridgemaker
Copy link
Contributor

This is a bug introduced in 7.2.0 (works fine in 7.1.2)

What is the current behavior?

Currently asyncValidate triggers onChange (and not only on the fields added to asyncBlurFields, but any field)

What is the expected behavior?

asyncValidate should only be triggered by submitting the form or blur happening on asyncBlurFields

Sandbox Link

https://www.webpackbin.com/bins/-L-636BVM6SM1Eky2PQQ

What's your environment?

redux-form 7.2.0
react ^16.0.0

Other information

@Olliebaba
Copy link

@erikras - any idea when this would be included in a release?

@erikras
Copy link
Member

erikras commented Jan 18, 2018

Published fix in v7.2.1.

@lock
Copy link

lock bot commented Jan 18, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants