x-ui-design 0.3.44 → 0.3.45

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
@@ -639,7 +639,7 @@ const useForm = (initialValues = {}, onFieldsChange, onValuesChange) => {
639
639
  errors: err
640
640
  }));
641
641
  }
642
- function setFieldValue(name, value, errors, reset = null) {
642
+ function setFieldValue(name, value, errors, reset = undefined) {
643
643
  if (!reset && reset !== null && ([undefined, null].includes(value) || formRef.current[name] === value)) {
644
644
  return;
645
645
  }