full-stack-fastapi-template
full-stack-fastapi-template copied to clipboard
⬆ Bump react-hook-form from 7.49.3 to 7.58.1 in /frontend
Bumps react-hook-form from 7.49.3 to 7.58.1.
Release notes
Sourced from react-hook-form's releases.
Version 7.58.1
🔧 check window.crypto undefined (#12893)
Version 7.58.0
⌨️ feat: add FieldArrayPathByValue type (#12481) 📇 feat #12813 use stringToPath to prevent error at field name with quotes (#12858) 🧧 default to crypto.randomUUID in generateId (#12890) 🐞 close #12857 incorrect formControl return from useForm (#12878) 🐞 fix Initial useFieldArray fields (#12847) 🥷 chore: improve type import (#12879) 📇 chore: Added displayName to useFormContext (#11448) ✍️ chore: fix typo in assert-esm-exports.mjs (#12860)
thanks to
@mastermatt,@clonemycode,@dusan233,@candymask0712,@tran-simon&@adnanalbedaVersion 7.57.0
🫚 feat: root errors count in schema error lookup (#12839) 👁️ feat: focus form field for errors supplied by errors prop (#12805) ⌨️ feat: add and export options config for resetField api (#12819) 🐞 close #12707 useController focus function runtime issue (#12843) 🐞 fix: add proper types to form.subscribe (#12850) 🐞 fix: add type info for callback args in subscribe (#12859) 🔄 close #12835 revert original fix on errors empty object check (#12846)
thanks to
@candymask0712,@CertainlyAria,@jkbach,@chrisgarberand@evgeniyworkbelVersion 7.57.0-next.0
👀
useWatchnewcomputeprops
- subscribe to the entire form but only return updated value with certain condition
type FormValue = { test: string; }const watchedValue = useWatch({
control: methods.control,
compute: (data: FormValue) => {
if (data.test?.length) {
return data.test;
}return '';},
});
- subscribe to a specific form value state
... (truncated)
Commits
d8bb9b37.58.1bb64c07🔧 check window.crypto undefined (#12893)9e33cfa7.58.04502ddb🧧 default to crypto.randomUUID in generateId (#12890)0e3ef81📇 chore: Added displayName to useFormContext (#11448)7ce7cc6🥷 chore: improve type import (#12879)c47545b⌨️ feat: add FieldArrayPathByValue type (#12481)e495306📇 feat #12813 use stringToPath to prevent error at field name with quotes (#1...f513037🐞 close #12857 incorrect formControl return from useForm (#12878)ecc4768🐞 fix Initial useFieldArray fields (#12847)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)