This repository was archived by the owner on Aug 23, 2022. It is now read-only.
React Redux Form v0.12.7
Bug Fixes
- Previously, for most cases, a text
<input />
could not be uncontrolled; i.e., it was forced to be controlled, and thevalue
prop was overridden. This was undesirable in some instances, and now,<input value={...} />
inside<Field>
will maintain its originalvalue
prop, if it exists. This yields two new scenarios:
// force an input to be uncontrolled
<Field model="foo.bar">
<input value={undefined} />
</Field>
// control an input externally
<Field model="foo.bar">
<input value={this.state.value} onChange={...} />
</Field>
- The
SET_SUBMITTED
andSET_SUBMIT_FAILED
actions now propagate to the form's underlying fields, so the.submitted
and.submitFailed
field props accurately represent those of the parent form. #222