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

React Redux Form v0.12.0

Compare
Choose a tag to compare
@davidkpiano davidkpiano released this 05 May 02:34
· 1203 commits to master since this release

Controlled Text Components

  • The biggest change of 0.12.0 is that text components (e.g., <input type="text" /> and similar) are now controlled components...
  • ... but ONLY if updateOn="change" (which is the default). In 1.0.0 (or perhaps a 0.12.x patch) there will be a solution for controlled components that also updateOn="blur", but this currently is not the most common use case.
  • So, updateOn="blur" will remain uncontrolled.

Bug Fixes

  • Many fixes regarding the <Field> component and React.Children.only.
  • Errors can now be plain strings without accidentally getting converted to error arrays. (not a listed issue)
  • The behavior for removing nonexistent fields in the formReducer is now mostly as expected; this will be greatly refactored (and simplified) in 1.0.0.