react-component / form

React High Order Form Component(web & react-native)
http://react-component.github.io/form/
MIT License
1.81k stars 295 forks source link

this.props.form.validateFields if require file empty not working #357

Closed GoToBoy closed 4 years ago

GoToBoy commented 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) => {}) }

/working code: handleSubmit (){ this.props.form.validateFields(null,null,(error, value) => {}) }

GoToBoy commented 4 years ago

Duplicate of # issue-355031873