⬆ ️ deps: Bump react-hook-form from 7.26.1 to 7.30.0
Bumps react-hook-form from 7.26.1 to 7.30.0.
Release notes
Sourced from react-hook-form's releases.
Version 7.30.0
Notes
🐣 determine checkbox group bydefaultValues
set as array value (react-hook-form/react-hook-form#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 (react-hook-form/react-hook-form#7501)
📕 add fieldState invalid depreciation note (react-hook-form/react-hook-form#8202)⛑ improve getNodeParentName missing case(s) (react-hook-form/react-hook-form#8181)🔨 support field array parents with numbers in name (react-hook-form/react-hook-form#8167)💉 improve lib tests cases (react-hook-form/react-hook-form#8155)Contributors
Thanks to contributors below
❤ ️Version 7.29.0
❤ ️ update react 18 peer dep📦 es2017 to es2018 (react-hook-form/react-hook-form#8066) Reduce 1% of package weight🏃 avoid runtime error with compact (react-hook-form/react-hook-form#8094)👋 goodbyeomit
(react-hook-form/react-hook-form#8079)🐞 close react-hook-form/react-hook-form#8071 issue onshouldUnreigster
mutate defaultValues (react-hook-form/react-hook-form#8078)⏭ ️ close react-hook-form/react-hook-form#8076isMount
flag issue with useEffect running twice with react 18 (react-hook-form/react-hook-form#8077)🎧 close react-hook-form/react-hook-form#8071 clean up at useForm useEffect (react-hook-form/react-hook-form#8073)Version 7.28.1
🐞 fix react-hook-form/react-hook-form#8050 disabled attribute ignored with register checkbox (react-hook-form/react-hook-form#8053)📦 update package.json to set sideEffect false (react-hook-form/react-hook-form#8041)🆙 TS 4.6.0 (react-hook-form/react-hook-form#7623)📖 fix replace API TSDoc for fieldArraythanks to
@alexogar
and@Moshyfawn
Version 7.28.0
🏬 enabledeps
with string syntax (react-hook-form/react-hook-form#7901)</tr></table>
... (truncated)
Changelog
Sourced from react-hook-form's changelog.
[7.30.0] - 2022-4-17
Changed
- improve checkboxes value determine by defaultValues
useForm({ defaultValues: { checkboxes: [], // register checkbox will be determine as array of checkboxes }, }); register('checkboxes'); // will return array as value
[7.29.0] - 2022-3-30
Changed
- tsconfig config change from es2017 to es2018
[7.28.0] - 2022-3-13
Changed
register
API optionsdeps
now support stringregister('test', { deps: 'test' });
[7.27.0] - 2022-2-11
Added
- new option for
setFocus
to select the entire field valuesetFocus('fieldName', { shouldSelect: true });
[7.25.2] - 2022-1-29
Changed
onTouched
mode will honorfocusout
event[7.25.0] - 2022-1-22
Added
... (truncated)
Commits
-
21b5202
7.30.0 -
feee967
📖 update changelog v7.30.0 -
ad3f446
🧪 improve test cases with checkbox default value as array (#7501) -
287312b
🐣 determine checkbox group by defaultValues set as array value (#7938) -
f7d9805
📕 add fieldState invalid depreciation note (#8202) -
c165d69
⛑ improve getNodeParentName missing case(s) (#8181) -
1ed4777
🔨 support field array parents with numbers in name (#8167) -
a0f1799
💉 improve lib tests cases (#8155) -
8a478e7
🥼 update changelog -
20cdf85
7.29.0 - Additional commits viewable in compare view