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.
@@ -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) {