@bombillazo/rhf-plus 7.56.1-plus.2 → 7.56.2-plus.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.
@@ -801,7 +801,7 @@ function createFormControl(props = {}) {
801
801
  };
802
802
  const _fields = {};
803
803
  let _defaultValues = isObject(_options.defaultValues) || isObject(_options.values)
804
- ? cloneObject(_options.values || _options.defaultValues) || {}
804
+ ? cloneObject(_options.defaultValues || _options.values) || {}
805
805
  : {};
806
806
  let _formValues = _options.shouldUnregister
807
807
  ? {}