x-ui-design 0.6.64 → 0.6.65

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
@@ -739,7 +739,7 @@ const useForm = (initialValues = {}, onFieldsChange, onValuesChange, scrollToFir
739
739
  } else {
740
740
  const existFields = {};
741
741
  Object.values(formRef.current).forEach((_, step) => {
742
- if (formRef.current[step][name]) {
742
+ if (formRef.current[step].hasOwnProperty(name)) {
743
743
  existFields[name] = formRef.current[step][name];
744
744
  delete formRef.current[step][name];
745
745
  }