☑️ More Examples!
☑️ Ironed out myriad bugs while writing and testing examples
☑️ You can now initialize your form from the state of any Redux reducer! See example.
☑️ Dynamic forms (changing your fields
array on the fly) is now working and tested. See example.
☑️ Normalizers are now passed previousAllValues
, allowing a field to be normalized when another field changes. See example.
☑️ Support for <select multiple={true}>
elements.
☑️ Clever initialize timestamp trick to get around facebook/react#2533. i.e. initializing a <textarea>
"just works" now.
☑️ reduxForm()
now allows mapStateToProps
and mapDispatchToProps
parameters so you should never have to use both reduxForm()
and connect()
on the same component. See example.
Migration Guide
If you are coming from v2.x.x
, you should follow the Migration Guide.
FAQ
Here are some issues people have run into with the v3 upgrade. I will add more as they surface.
1) My submit function is not being called! Help?
This means that your validation function is not returning
{}
. Previous versions ofredux-form
had you return{valid: true}
to signify a valid form. This is no longer the case.