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
Async validation strange behaviour #2056
Comments
Closing due to inactivity. In case you still have problems, please open a formal bug report/feature request/docs improvement request. |
This was referenced Mar 6, 2018
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. |
Fix released in |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I had a very strange bug on my project when I used async validation for fields. During form filling everything works without any issues, but when I submit the form I got
Uncaught (in promise)
error. I checked every line of my code and found that if I resolve async validating promise with some dataredux-form
treat it as an error and fail form submission.As I see, the problem is here:
First
if
statements will not be not passed even ifrejected
isfalse
. I don't know if it is a feature of a bug?I forked the repo and added example of the problem.
Form works until you submit it with valid values, you will get error in the console.
The text was updated successfully, but these errors were encountered: