ant-design form.submit does not work inside onValuesChange called due to DatePicker change

lf5gs5x2  于 2022-11-05  发布在  其他
关注(0)|答案(1)|浏览(132)

Steps to reproduce

If Form.Item has a "require:true" in rules props, form.submit will do throw onFinishFailed.

What is expected?

"onFinishFailed" should not be called.

What is actually happening?

"onFinishFailed" should not be called.

EnvironmentInfo
antd4.23.6
React18.2.0
Systemwindows 11
BrowserChrome latest

相关问题