Skip to content

v1.6.0

Compare
Choose a tag to compare
@erikras erikras released this 17 Sep 15:33
· 1922 commits to master since this release

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