react-hook-form 7.19.0-next.0 → 7.19.0

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/index.esm.js CHANGED
@@ -1452,7 +1452,7 @@ function createFormControl(props = {}) {
1452
1452
  const field = get(_fields, fieldName);
1453
1453
  return await executeBuildInValidation(field && field._f ? { [fieldName]: field } : field);
1454
1454
  }))).every(Boolean);
1455
- _updateValid();
1455
+ !(!validationResult && !_formState.isValid) && _updateValid();
1456
1456
  }
1457
1457
  else {
1458
1458
  validationResult = isValid = await executeBuildInValidation(_fields);