Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

React Redux Form v1.5.4

Compare
Choose a tag to compare
@davidkpiano davidkpiano released this 31 Jan 15:08
· 441 commits to master since this release

Enhancements

  • If you're using redux-thunk (optional), you can now pass a function into actions.change:
dispatch(actions.change('user.name', (name) => name.toUpperCase()));
  • πŸ†• the <Control> component now takes a withField={true} prop that will pass the field value to the event handlers as the second prop. Default: true.
  • Various TypeScript defs updated
  • Preact compatibility improvements thanks to @marsch: #633
  • Docs: clarification that you can use any standard props, as they will be passed right to the vanilla control. #628
  • Docs: added info on how to (easily!) submit a form programmatically in React-Native. #625

Fixes

  • Resetting a model from/to null bugs resolved. #606
  • Simultaneous form and field validation will now properly merge when validating on submit. #635
  • If a <Form action="..."> component includes an action attribute, the default event action will no longer be prevented. #626