react-hook-form 7.56.1 → 7.56.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.
@@ -776,7 +776,7 @@ function createFormControl(props = {}) {
776
776
  };
777
777
  const _fields = {};
778
778
  let _defaultValues = isObject(_options.defaultValues) || isObject(_options.values)
779
- ? cloneObject(_options.values || _options.defaultValues) || {}
779
+ ? cloneObject(_options.defaultValues || _options.values) || {}
780
780
  : {};
781
781
  let _formValues = _options.shouldUnregister
782
782
  ? {}