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

asyncValidation submitting bug #829

Closed
hank7444 opened this issue Apr 19, 2016 · 4 comments
Closed

asyncValidation submitting bug #829

hank7444 opened this issue Apr 19, 2016 · 4 comments
Labels

Comments

@hank7444
Copy link

if I choose the async field first, and then click submit button,
the submit button doesn't submit because it is disabled from "asyncValidating"

image

but If I remove "asyncValidating" props from submit button, and then I click many times very quickly,
it will send many requests times.

image

Have any good idea?

@erikras
Copy link
Member

erikras commented May 1, 2016

Yep, this is a legit bug. handleSubmit needs to be smart enough to know about whether async validation is happening.

@erikras
Copy link
Member

erikras commented May 12, 2016

Published fix as v6.0.0-alpha.9.

@erikras erikras closed this as completed May 12, 2016
@hank7444
Copy link
Author

@erikras thx!, I will try it 👍

@lock
Copy link

lock bot commented Jun 3, 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.

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

No branches or pull requests

3 participants