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