github redux-form/redux-form v6.4.0

latest releases: v8.3.10, v8.3.9, v8.3.8...
7 years ago

New Features

  • 💥 New Form component 💥 creates a shallow wrapper of a <form> tag that allows redux-form to call the onSubmit function when a submit is triggered via a SUBMIT action or via the instance API. #2326 #2238 Kudos to @davidkpiano for the idea.
  • New forceUnregisterOnUnmount config parameter that fixes some problems with wizard forms. #2310 #2231
  • New selectors for submitting, submitSucceeded and submitFailed. #2289 #2173
  • More control over how FormSection operates. #2329 #2271 #2274 When FormSection needs to wrap its children in a component, you may now:
    • Specify the type of component, e.g. div, section, etc.
    • Pass through props, e.g. className, style, to said component

Bug Fixes

  • First call to validate was always receiving an empty object when enableReinitialize was true. #2296 #1901
  • Change to allow undefined to be returned from sync validation. #2273 #2272
  • Bind handlers to components. There were some unnecessary re-renders being caused by event handlers being created each time a field was rendered rather than using bound member methods. #2161 Kudos to @oreqizer for this major refactor.

Don't miss a new redux-form release

NewReleases is sending notifications on new releases.