react-hook-form 7.55.0-next.6 → 7.55.0-next.7

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.
@@ -1270,7 +1270,7 @@ function createFormControl(props = {}) {
1270
1270
  };
1271
1271
  let _fields = {};
1272
1272
  let _defaultValues = isObject(_options.defaultValues) || isObject(_options.values)
1273
- ? cloneObject(_options.values || _options.defaultValues) || {}
1273
+ ? cloneObject(_options.defaultValues || _options.values) || {}
1274
1274
  : {};
1275
1275
  let _formValues = _options.shouldUnregister
1276
1276
  ? {}