Closed renovate[bot] closed 3 years ago
Latest commit: 492aa7de88cc77eda9b42e6b253c5ab77cce6a7e
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 7.x releases. However, if you upgrade to 7.x manually then Renovate will reenable minor and patch updates automatically.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.
This PR contains the following updates:
^6.0.3
->^7.0.0
Release Notes
react-hook-form/react-hook-form
### [`v7.11.1`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.11.1) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.11.0...v7.11.1) 🐛 fix [#5944](https://togithub.com/react-hook-form/react-hook-form/issues/5944) reset issue with unmounted useFieldArray ([#5954](https://togithub.com/react-hook-form/react-hook-form/issues/5954)) 🐛 fix [#5942](https://togithub.com/react-hook-form/react-hook-form/issues/5942) case when value is supplied as null/undefined ⌨️ close [#5928](https://togithub.com/react-hook-form/react-hook-form/issues/5928) improve useWatch and watch types ([#5945](https://togithub.com/react-hook-form/react-hook-form/issues/5945)) 🎮 fix [#5936](https://togithub.com/react-hook-form/react-hook-form/issues/5936) regression with controller value transform ([#5937](https://togithub.com/react-hook-form/react-hook-form/issues/5937)) ### [`v7.11.0`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#7110---2021-07-13) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.10.1...v7.11.0) ### [`v7.10.1`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.10.1) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.10.0...v7.10.1) 🗝️ fix [#5808](https://togithub.com/react-hook-form/react-hook-form/issues/5808) DeepMap extend issue with File ([#5813](https://togithub.com/react-hook-form/react-hook-form/issues/5813)) 🕵️ fix [#5816](https://togithub.com/react-hook-form/react-hook-form/issues/5816) variable name typo in useController ### [`v7.10.0`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#7100---2021-07-02) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.9.0...v7.10.0) ### [`v7.9.0`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#790---2021-06-19) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.8.8...v7.9.0) ### [`v7.8.8`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.8.8) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.8.7...v7.8.8) 🐞 fix [#5627](https://togithub.com/react-hook-form/react-hook-form/issues/5627) defaultValue reset inconsistent with setValueAs ([#5634](https://togithub.com/react-hook-form/react-hook-form/issues/5634)) ### [`v7.8.7`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.8.7) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.8.6...v7.8.7) 🐞 fix [#5623](https://togithub.com/react-hook-form/react-hook-form/issues/5623) Controller unmount to skip validation ([#5624](https://togithub.com/react-hook-form/react-hook-form/issues/5624)) ### [`v7.8.6`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.8.6) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.8.5...v7.8.6) 🐞 fix [#5611](https://togithub.com/react-hook-form/react-hook-form/issues/5611) should not update dirty fields with blur event ([#5614](https://togithub.com/react-hook-form/react-hook-form/issues/5614)) 🐞 fix [#5612](https://togithub.com/react-hook-form/react-hook-form/issues/5612) trigger() always return true ([#5613](https://togithub.com/react-hook-form/react-hook-form/issues/5613)) ### [`v7.8.5`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#785---2021-06-15) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.8.4...v7.8.5) ##### Change - `useController` no longer access input `ref` except `focus` event for focus management ### [`v7.8.4`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.8.4) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.8.3...v7.8.4) 🐞 fix [#5555](https://togithub.com/react-hook-form/react-hook-form/issues/5555) register deeply nested field append with strict mode ([#5580](https://togithub.com/react-hook-form/react-hook-form/issues/5580)) 🐛 fix [#5566](https://togithub.com/react-hook-form/react-hook-form/issues/5566) should unregister inputs when useFieldArray unmounted ([#5579](https://togithub.com/react-hook-form/react-hook-form/issues/5579)) 🔢 fix [#5568](https://togithub.com/react-hook-form/react-hook-form/issues/5568) include . for a precise focus index lookup ([#5578](https://togithub.com/react-hook-form/react-hook-form/issues/5578)) 🕵️♀️ improve logic on register absent inputs ([#5556](https://togithub.com/react-hook-form/react-hook-form/issues/5556)) 👮 fix [#5538](https://togithub.com/react-hook-form/react-hook-form/issues/5538) type error with setError shouldFocus ### [`v7.8.3`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.8.3) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.8.2...v7.8.3) 🐛 fix [#5527](https://togithub.com/react-hook-form/react-hook-form/issues/5527) resolver switching ([#5530](https://togithub.com/react-hook-form/react-hook-form/issues/5530)) ### [`v7.8.2`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.8.2) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.8.1...v7.8.2) 🐛 fix [#5507](https://togithub.com/react-hook-form/react-hook-form/issues/5507) register with value issue ([#5511](https://togithub.com/react-hook-form/react-hook-form/issues/5511)) ### [`v7.8.1`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.8.1) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.8.0...v7.8.1) 🐛 fix [#5499](https://togithub.com/react-hook-form/react-hook-form/issues/5499) issue with controller defaultValue overwrite defaultValues at useForm ([#5500](https://togithub.com/react-hook-form/react-hook-form/issues/5500)) ### [`v7.8.0`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#780---2021-06-5) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.7.1...v7.8.0) ##### Added - `setValue` support `shouldTouch` to update formState touchFields ```tsx setValue('firstName', 'value', { shouldTouch: true }); ``` - `register` now accept `value` as option ```tsx register('firstName', { value: 'value' }); ``` ### [`v7.7.1`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#771---2021-05-30) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.7.0...v7.7.1) ##### Fixed - `shouldUnregister: false` should not shallow merge or register absent input fields from `defaultValues` ### [`v7.7.0`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#770---2021-05-29) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.10...v7.7.0) ##### Added - `trigger` support focus with error input ```ts trigger('inputName', { shouldFocus: true }); ``` ##### Changed - `handleSubmit` will `throw` error within the onSubmit callback ### [`v7.6.10`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.10) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.9...v7.6.10) 🐞 close [#5379](https://togithub.com/react-hook-form/react-hook-form/issues/5379) getFieldValueAs return undefined when supplied with undefined ([#5381](https://togithub.com/react-hook-form/react-hook-form/issues/5381)) 🐛 fix [#5382](https://togithub.com/react-hook-form/react-hook-form/issues/5382) trigger() return incorrect valid state ([#5383](https://togithub.com/react-hook-form/react-hook-form/issues/5383)) ### [`v7.6.9`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.9) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.8...v7.6.9) 🐛 fix [#5366](https://togithub.com/react-hook-form/react-hook-form/issues/5366) inline defaultValue validation ([#5376](https://togithub.com/react-hook-form/react-hook-form/issues/5376)) ⌨️ improve controller defaultValue prop type ([#5375](https://togithub.com/react-hook-form/react-hook-form/issues/5375)) 🏋🏻♀️ reduce logic with value check ([#5356](https://togithub.com/react-hook-form/react-hook-form/issues/5356)) ### [`v7.6.8`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.8) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.7...v7.6.8) 🐞 fix [#5361](https://togithub.com/react-hook-form/react-hook-form/issues/5361) remove check field logic for getFieldValues ([#5363](https://togithub.com/react-hook-form/react-hook-form/issues/5363)) 🐞 fix [#5277](https://togithub.com/react-hook-form/react-hook-form/issues/5277) Update value when switch to enabled from initial disabled state ([#5350](https://togithub.com/react-hook-form/react-hook-form/issues/5350)) 📦 update typescript and remove object define in useController ([#5353](https://togithub.com/react-hook-form/react-hook-form/issues/5353)) ### [`v7.6.7`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.7) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.6...v7.6.7) 🐞 fix [#5344](https://togithub.com/react-hook-form/react-hook-form/issues/5344) avoid re-register inputs ([#5345](https://togithub.com/react-hook-form/react-hook-form/issues/5345)) 👌 close [#5283](https://togithub.com/react-hook-form/react-hook-form/issues/5283) useFieldArray issue with restrict mode ([#5331](https://togithub.com/react-hook-form/react-hook-form/issues/5331)) 🏋🏻♀️ save esm bundle size ([#5327](https://togithub.com/react-hook-form/react-hook-form/issues/5327)) ⌨️ accept readonly field path arrays ([#5317](https://togithub.com/react-hook-form/react-hook-form/issues/5317)) ### [`v7.6.6`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.6) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.5...v7.6.6) 🐛 fix [#5300](https://togithub.com/react-hook-form/react-hook-form/issues/5300) issue with register absent deep nested object ([#5302](https://togithub.com/react-hook-form/react-hook-form/issues/5302)) 🕵️ close [#5297](https://togithub.com/react-hook-form/react-hook-form/issues/5297) issue with get with empty path ([#5298](https://togithub.com/react-hook-form/react-hook-form/issues/5298)) ### [`v7.6.5`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.5) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.4...v7.6.5) 🐞 fix [#5286](https://togithub.com/react-hook-form/react-hook-form/issues/5286) `useWatch` with fieldArray inconsistent behaviour ([#5287](https://togithub.com/react-hook-form/react-hook-form/issues/5287)) ### [`v7.6.4`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.4) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.3...v7.6.4) 🐞 fix [#5276](https://togithub.com/react-hook-form/react-hook-form/issues/5276) setValue with null ([#5278](https://togithub.com/react-hook-form/react-hook-form/issues/5278)) ### [`v7.6.3`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.3) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.2...v7.6.3) 🐞 fix [#5246](https://togithub.com/react-hook-form/react-hook-form/issues/5246) useFieldArray with nested arrays throws error ([#5251](https://togithub.com/react-hook-form/react-hook-form/issues/5251)) 🐞 fix [#5262](https://togithub.com/react-hook-form/react-hook-form/issues/5262) register checkbox issue with absent register ([#5263](https://togithub.com/react-hook-form/react-hook-form/issues/5263)) ### [`v7.6.2`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.2) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.1...v7.6.2) 🐞 fix [#5234](https://togithub.com/react-hook-form/react-hook-form/issues/5234) should render error logic for valid state ([#5235](https://togithub.com/react-hook-form/react-hook-form/issues/5235)) ⌨️ fix missing-register-options-generic-type ([#5238](https://togithub.com/react-hook-form/react-hook-form/issues/5238)) ### [`v7.6.1`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.1) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.0...v7.6.1) 🐞 fix [#5229](https://togithub.com/react-hook-form/react-hook-form/issues/5229) issue with ref becomes undefined ([#5233](https://togithub.com/react-hook-form/react-hook-form/issues/5233)) 🐎 improve multiple useWatch performances ([#5210](https://togithub.com/react-hook-form/react-hook-form/issues/5210)) 🏑 close [#5208](https://togithub.com/react-hook-form/react-hook-form/issues/5208) useFieldArray nested object with React.StrictMode ([#5209](https://togithub.com/react-hook-form/react-hook-form/issues/5209)) ### [`v7.6.0`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#760---2021-05-15) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.5.3...v7.6.0) ##### Changed - `useForm` will `register` missing inputs from `defaultValues` ```tsx const App = () => { const { register, handleSubmit } = useForm({ defaultValues: { test: { firstName: 'bill', lastName: 'luo' }, }, }); const onSubmit = (data) => { // missing registered input will be included console.log(data); // { test: { firstName: 'bill', lastName: 'luo' } } }; return ( ); }; ``` ### [`v7.5.3`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.5.3) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.5.2...v7.5.3) 🧠 close [#5162](https://togithub.com/react-hook-form/react-hook-form/issues/5162) watch behavior with useFieldArray set to `shouldUnregister: true` ([#5173](https://togithub.com/react-hook-form/react-hook-form/issues/5173)) ### [`v7.5.2`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.5.2) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.5.1...v7.5.2) ⌨️ fix [#5122](https://togithub.com/react-hook-form/react-hook-form/issues/5122) type issue with the message ([#5123](https://togithub.com/react-hook-form/react-hook-form/issues/5123)) ### [`v7.5.1`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.5.1) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.5.0...v7.5.1) 🐞 fix [#5096](https://togithub.com/react-hook-form/react-hook-form/issues/5096) clearErrors with empty arg ([#5098](https://togithub.com/react-hook-form/react-hook-form/issues/5098)) ### [`v7.5.0`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#750---2021-05-09) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.4.2...v7.5.0) ##### Changed - `isSubmitSuccessful` will return false when `handleSubmit` callback failed with `Error` or `Promise` reject. - unmounted input will no longer get validated even with `shouldUnregister: false` ### [`v7.4.2`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.4.2) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.4.1...v7.4.2) 🐛 fix [#5053](https://togithub.com/react-hook-form/react-hook-form/issues/5053) useFormState missing name ([#5058](https://togithub.com/react-hook-form/react-hook-form/issues/5058)) 🐞 fix [#5051](https://togithub.com/react-hook-form/react-hook-form/issues/5051) trigger return with schema ([#5052](https://togithub.com/react-hook-form/react-hook-form/issues/5052)) ### [`v7.4.1`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.4.1) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.4.0...v7.4.1) 🐞 fix \[v7]: trigger function always returns false [#5043](https://togithub.com/react-hook-form/react-hook-form/issues/5043) 🐞 fix [#5027](https://togithub.com/react-hook-form/react-hook-form/issues/5027) unmounted useFieldArray not remounted with existing values ([#5028](https://togithub.com/react-hook-form/react-hook-form/issues/5028)) ### [`v7.4.0`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#740---2021-05-04) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.3.6...v7.4.0) ##### Added - new `name` prop for `useFormState` to subscribe to individual inputs. ```ts useFormState({ name: 'inputName', // optional and can be array of inputs' name as well }); ``` ### [`v7.3.6`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.3.6) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.3.5...v7.3.6) ⌨️ fix [#4994](https://togithub.com/react-hook-form/react-hook-form/issues/4994) typing for watch & getValues ([#5005](https://togithub.com/react-hook-form/react-hook-form/issues/5005)) ✌🏻 close [#5001](https://togithub.com/react-hook-form/react-hook-form/issues/5001) fix unit test errors object issue 👌 fix use form trigger return type ([#5000](https://togithub.com/react-hook-form/react-hook-form/issues/5000)) ### [`v7.3.5`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.3.5) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.3.4...v7.3.5) 🐞 fix [#4966](https://togithub.com/react-hook-form/react-hook-form/issues/4966) controller input ref gets overwrite ([#4970](https://togithub.com/react-hook-form/react-hook-form/issues/4970)) 🎉 close [#4988](https://togithub.com/react-hook-form/react-hook-form/issues/4988) for parse input value during setValue \[JS only] ([#4989](https://togithub.com/react-hook-form/react-hook-form/issues/4989)) 💪🏻 improve unregister to info state update ([#4962](https://togithub.com/react-hook-form/react-hook-form/issues/4962)) ### [`v7.3.4`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.3.4) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.3.3...v7.3.4) 🐞 fix [#4957](https://togithub.com/react-hook-form/react-hook-form/issues/4957) radio/checkbox gets unregistered until all unmounted ([#4959](https://togithub.com/react-hook-form/react-hook-form/issues/4959)) ### [`v7.3.3`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.3.3) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.3.2...v7.3.3) 🐞 fix formState gets reset during shouldUnregister: true mode ([#4949](https://togithub.com/react-hook-form/react-hook-form/issues/4949)) ### [`v7.3.2`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.3.2) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.3.1...v7.3.2) 🐞 fix [#4947](https://togithub.com/react-hook-form/react-hook-form/issues/4947) with missing register options ([#4948](https://togithub.com/react-hook-form/react-hook-form/issues/4948)) ### [`v7.3.1`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.3.1) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.3.0...v7.3.1) Revert "🐛 fix toggle Controller value in useFieldArray ([#4861](https://togithub.com/react-hook-form/react-hook-form/issues/4861))" ([#4945](https://togithub.com/react-hook-form/react-hook-form/issues/4945)) 👻 fix [#4938](https://togithub.com/react-hook-form/react-hook-form/issues/4938) issue with watch internal measure against components mounted ([#4939](https://togithub.com/react-hook-form/react-hook-form/issues/4939)) ### [`v7.3.0`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.3.0) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.2.3...v7.3.0) 🕺 trigger result validation output ([#4856](https://togithub.com/react-hook-form/react-hook-form/issues/4856)) ```ts const output = await trigger('fieldName'); ``` 🐛 fix toggle Controller value in useFieldArray ([#4861](https://togithub.com/react-hook-form/react-hook-form/issues/4861)) 🐛 fix [#4912](https://togithub.com/react-hook-form/react-hook-form/issues/4912) watch return undefined due to reset ([#4921](https://togithub.com/react-hook-form/react-hook-form/issues/4921)) 🐞 fix [#4929](https://togithub.com/react-hook-form/react-hook-form/issues/4929) input freeze with shouldUnregister: true issue with watch useFieldArray ([#4930](https://togithub.com/react-hook-form/react-hook-form/issues/4930)) 👻 fix trigger with `every` filter and update unit tests ([#4937](https://togithub.com/react-hook-form/react-hook-form/issues/4937)) ### [`v7.2.3`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.2.3) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.2.2...v7.2.3) ⌨️ fix [#4895](https://togithub.com/react-hook-form/react-hook-form/issues/4895) remove incorrect type for validation return messages ### [`v7.2.2`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#722---2021-04-21) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.2.1...v7.2.2) ##### Changes - set `shouldUnregister` to `true` will not shallow merge `defaultValues` ### [`v7.2.1`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.2.1) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.2.0...v7.2.1) 🐞 fix [#4859](https://togithub.com/react-hook-form/react-hook-form/issues/4859) issue with reset trigger unregister subscription ([#4860](https://togithub.com/react-hook-form/react-hook-form/issues/4860)) ### [`v7.2.0`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#720---2021-04-19) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.1.1...v7.2.0) ##### Changes - `shouldUnregister` config to remove input value after unmount ```tsx // Global config (can't be overwrite) useForm({ shouldUnregister: true // default to false }) // Component/Hook level config (can not overwrites global config) register('test', { shouldUnregister: true // default to false })Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.