Features
☑️ The asyncValidate
function is now passed the Redux dispatch
function as well as the values – asyncValidate(values, dispatch)
– for convenient validation action dispatching. Suggested by #73.
☑️ All validation mechanisms (sync, async, and submit promise rejection) can now return a special key _error
to set a generic form-wide error. This is useful for reporting database errors or something that is not specific to any one field. It will show up as the error
prop to your decorated component. Suggested by #72.
Bug fixes
☑️ Fixed minor, embarrassing typo bug #74 that was breaking untouchAll