Skip to content

v2.2.8's form-item setting validateFirst=true will still trigger all validations and display all error prompts instead of just the first error #4762

@ismeljm

Description

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

Version

2.2.8

Environment

antdv v2.2.8

Reproduction link

Edit on CodeSandbox

Steps to reproduce

form-item设置validateFirst=true仍然会全部触发验证,并显示所有错误提示,而非仅显示第一个错误

What is expected?

输入框显示所有错误

What is actually happening?

只显示第一个错误

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions