davidkpiano / react-redux-form

Create forms easily in React with Redux.
https://davidkpiano.github.io/react-redux-form
MIT License
2.06k stars 252 forks source link

Submitting Local Form With actions.submit Doesn't Trigger Form Level Validations #1159

Open mjangir opened 6 years ago

mjangir commented 6 years ago

I've a few validators on my Local form level. When I hit the button [type=submit"] the validators are working fine but if I submit the form manually with this.formDispatch(actions.submit('mylocalFormModel')), the form level validators are by passed and the onSubmit called directly. Is there any way to trigger the form level validations on manual submit through actions?