Closed GoToBoy closed 4 years ago
version:2.4.8
write it as what doc said ; it was not working
if require file not valid , then : handleSubmit (){ this.props.form.validateFields((error, value) => {}) }
handleSubmit (){ this.props.form.validateFields((error, value) => {}) }
/working code: handleSubmit (){ this.props.form.validateFields(null,null,(error, value) => {}) }
handleSubmit (){ this.props.form.validateFields(null,null,(error, value) => {}) }
Duplicate of # issue-355031873
version:2.4.8
write it as what doc said ; it was not working
if require file not valid , then :
handleSubmit (){ this.props.form.validateFields((error, value) => {}) }
/working code:
handleSubmit (){ this.props.form.validateFields(null,null,(error, value) => {}) }