Closed ismeljm closed 3 years ago
useForm
是一个可以独立 Form 组件运行的方法,它使用 Vue 响应式机制进行数据的监听和校验,并将校验结果返回,你可以将校验结果绑定到任何组件上,Form.Item
也仅仅是将结果展示。
你可以使用”传统方式“
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.
Version
2.2.8
Environment
antdv v2.2.8
Reproduction link
Steps to reproduce
form-item设置validateFirst=true仍然会全部触发验证,并显示所有错误提示,而非仅显示第一个错误
What is expected?
输入框显示所有错误
What is actually happening?
只显示第一个错误