This repository was archived by the owner on Aug 23, 2022. It is now read-only.
React Redux Form v1.0.13
Fixes and Enhancements
- Thanks to @tiagoefmoraes for continuing to work on the TypeScript definition file! #484
- The side-effectful
actions.focus
is now properly handled (with an intents system under the hood), and you can now specify which specific control you'd like to focus:
// will focus the radio button with value = "A"
actions.focus('user.choice', 'A');
// will focus all the radio buttons, eventually just
// leaving the last radio button in focus.
// This may or may not be desirable, keep this in mind!
actions.focus('user.choice');
// if there is only one control, this will work like normal
actions.focus('user.name');
This is useful if there are many controls (e.g. radio buttons) associated to a single model. #478
- The
submitFailed
value now updates the child fields recursively. #462 - Custom
changeAction={...}
props for checkboxes will now take the relevant value as the second argument (wasundefined
before). #474- For single checkboxes, the value will be the expected value that it will toggle to. So if
user.active == true
and you click the checkbox, it will pass infalse
as the second arg. - For multi checkboxes, the value passed in will be the value clicked.
- For single checkboxes, the value will be the expected value that it will toggle to. So if