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

When the validateFirst of FormItem is true, the formRef.validateFields is always success #4273

Closed
1 task done
aweiu opened this issue Jun 26, 2021 · 1 comment
Closed
1 task done
Labels

Comments

@aweiu
Copy link

aweiu commented Jun 26, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.2.0-beta.6

Environment

all environments

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Click the test button and watch the console output

What is expected?

When the verification fails, an exception is thrown

What is actually happening?

The call result of formRef.validateFields is always successful

@github-actions
Copy link

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

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 29, 2022
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

2 participants