v2.6.0
Minor upgrade:
- Added original error to
meta.error
property of the wrappedSubmissionError
. This will be accessible to developers in the third argument ofredux-form
'sonSubmitFail
// Example
<Form
onSubmitFail={(errors, dispatch, submitError, props) => {
if (submitError.meta.error.status === 404) return console.error('Not found')
console.error(errors.message)
}
/>