Notes
🐣 determine checkbox group by defaultValues set as array value (https://github.com/react-hook-form/react-hook-form/pull/7938)
useForm({
defaultValues: {
checkboxes: [], // register checkbox will be determine as array of checkboxes
},
});
register('checkboxes'); // will return array as value
🧪 improve test cases with checkbox default value as array (https://github.com/react-hook-form/react-hook-form/pull/7501) 📕 add fieldState invalid depreciation note (https://github.com/react-hook-form/react-hook-form/pull/8202) ⛑ improve getNodeParentName missing case(s) (https://github.com/react-hook-form/react-hook-form/pull/8181) 🔨 support field array parents with numbers in name (https://github.com/react-hook-form/react-hook-form/pull/8167) 💉 improve lib tests cases (https://github.com/react-hook-form/react-hook-form/pull/8155)
Contributors
Thanks to contributors below ❤️
- @spacenate
- @tedliang
- @Moshyfawn
- @jgullstr
- @romain-trotard