Is there a conflict in the submit form validation rules when antd Tab is switched?

clipboard.png

clipboard.png
1 some fields in the form are required
2 those fields in the form are not required, and their field names are the same
when submitting 2, it verifies that some values in the form in 1 are required

Apr.19,2022

form validation is based on Form. As you have encountered, your Form.create should be in the parent of two tab. You can consider splitting it into two child tab components

.
Menu