github redux-form/redux-form v4.0.0

latest releases: v8.3.10, v8.3.9, v8.3.8...
8 years ago
  • Fixed bug where INITIALIZE action was overwriting the existing value rather than only setting a new initial value. Discussion on #370.
  • Fixed bug that was causing problems with complex field values, like arrays or objects.
  • Added new Complex Values example to demonstrate complex values functionality.

Breaking Changes

You will only have breaking changes if you are dispatching the initialize() action manually.

In order to fix the above bugs, it was required that the fields array be given to the initialize() action creator. It must be the same as the array of fields passed as a config parameter to reduxForm() or as a prop to your decorated component.

v3.x

initialize(form:String, data:Object)

v4.x

initialize(form:String, data:Object, fields:Array<String>)

Don't miss a new redux-form release

NewReleases is sending notifications on new releases.