👨🏭 close #6581 by register input with setValue to improve DX for missing registered inputs (#6582)
💉 include unit test for #6581 setValue with missing input
🐞 fix #6573 calling setValue from useEffect at mount does not update controller value (#6578)
⌚️ close #6548 watch, reset with shouldUnregister: true by trigger extra re-render to flush out the current form values (#6549)
🐞 fix async useFieldArray actions (#6540)
🔖 fix typos in examples and source code (#6531)
💉 replace updateValues with cloneObject (#6530)
🐞 fix #6528 async reset update isMounted when isValid is not subscribed (#6529)
🐞 fix #6513reset config keepValues update formValues (#6524)
🐞 fix #6482reset formValues with shouldUnregister: true (#6512)
🐞 fix #6509 return defaultValues when components are not mounted (#6511)
🔨 proper fix for useController default value update (#6510)
Version 7.15.2
🐞 fix #2655 disabled input should set to undefined (#6501)
🐞 improve ControllerFieldState type for Controller types (#6500)
🐞 add File and FileList interface for ReactNative (#6495)
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps react-hook-form from 7.15.1 to 7.16.1.
Release notes
Sourced from react-hook-form's releases.
Changelog
Sourced from react-hook-form's changelog.
... (truncated)
Commits
096618a
7.16.14adffae
🎹 fix #6646 incorrect type with fieldState error (#6650)de6db78
👂 fix issue with stale subscription name and remove .only in test (#6642)22843cb
🎧 refactor subscription logic into useSubscribe (#6614)bfa02de
🥼 update changelog 7.16.07102b2b
7.16.06a869a4
🗺️ fix Mapped types for defined value type with interface (#6605)e9bea66
🏥 close #6590 prevent error throw by missing input with trigger API (#6591)ddc9243
🪄 feat: Ability to provide custom onBlur and onChange handlers (#5620)f3adae1
7.15.4Dependabot 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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)