⬆ Bump react-hook-form from 7.66.1 to 7.68.0 in /frontend
Type: Pull Request
State: Open
Association: Unknown
Comments: 3
(6 months ago)
(6 months ago)
Bumps react-hook-form from 7.66.1 to 7.68.0.
Release notes
Sourced from react-hook-form's releases.
Version 7.68.0
🎧 feat:
<FormStateSubscribe />component (#13142)import { useForm, FormStateSubscribe } from 'react-hook-form';const App = () => {
const { register, control } = useForm();return (
<div>
<form>
<input {...register('foo')} />
<input {...register('bar')} />
</form>
{/* re-render only when formState offoochanges */}
<FormStateSubscribe
control={control}
name={"foo"}
render={({errors}) => <span>{errors.foo?.message}</span>}
/>
</div>
);
};
🐞 fix: clear validation errors synchronously in reset() to fix Next.js 16 Server Actions issue (#13139) Revert "✨ fix(types): allow undefined value with async defaultValues in Contr…" (#13171)
thanks to
@xiangnuans,@abnud11,@ntatoud&@ap0niaVersion 7.67.0
🎯 feat: add exact to useController props (#13154)
useForm({ defaultValues: { user: { name: '' } } })<Controller control={control} name="user" exact={false} /> // subscribe to all user object
✨ fix(types): allow undefined value with async defaultValues in Controller (#13160) 🐞 fix(types): correct PathValueImpl type inference (#13150)
... (truncated)
Commits
b84595e7.68.0f51aaa8🧹 chore: clean up imports in deep-equal (#13174)baa0733Revert "✨ fix(types): allow undefined value with async defaultValues in Contr...e82e05e🐞 fix: clear validation errors synchronously in reset() to fix Next.js 16 Ser...175cbb9🪖 chore: upgrade eslint react hooks (#13168)43bcf05🎧 feat: <FormStateSubscribe /> component (#13142)6f39b1e7.67.090d19ad🎯 feat: add exact to useController props (#13154)ceb0b8f✨ fix(types): allow undefined value with async defaultValues in Contr… (#13160)a42f198🐞 fix(types): correct PathValueImpl type inference (#13150)- See full diff 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)
Package Dependencies
react-hook-form
npm
7.66.1 → 7.68.0
Minor
/frontend
Technical Details
| ID: | 11742778 |
| UUID: | 3694075013 |
| Node ID: | PR_kwDOQiarcc63CUng |
| Host: | GitHub |
| Repository: | mukhametzhan-dev/fullstack-devops |