react-hook-form 7.41.2 → 7.41.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/controller.d.ts +1 -1
- package/dist/controller.d.ts.map +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.mjs +1 -2
- package/dist/index.esm.mjs.map +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/logic/createFormControl.d.ts.map +1 -1
- package/dist/logic/updateFieldArrayRootError.d.ts +1 -1
- package/dist/logic/updateFieldArrayRootError.d.ts.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/types/errors.d.ts +2 -2
- package/dist/types/errors.d.ts.map +1 -1
- package/dist/types/form.d.ts +5 -5
- package/dist/types/form.d.ts.map +1 -1
- package/dist/types/path/eager.d.ts +5 -5
- package/dist/types/path/eager.d.ts.map +1 -1
- package/dist/types/utils.d.ts +0 -1
- package/dist/types/utils.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.mjs
CHANGED
@@ -1696,8 +1696,7 @@ function createFormControl(props = {}, flushRootRender) {
|
|
1696
1696
|
}
|
1697
1697
|
(options.shouldDirty || options.shouldTouch) &&
|
1698
1698
|
updateTouchAndDirty(name, fieldValue, options.shouldTouch, options.shouldDirty, true);
|
1699
|
-
options.shouldValidate &&
|
1700
|
-
trigger(name);
|
1699
|
+
options.shouldValidate && trigger(name);
|
1701
1700
|
};
|
1702
1701
|
const setValues = (name, value, options) => {
|
1703
1702
|
for (const fieldKey in value) {
|