x-ui-design 1.0.34 → 1.0.35

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
@@ -1698,9 +1698,7 @@ const FormItem$1 = ({
1698
1698
  }
1699
1699
  }, [name, rules]);
1700
1700
  useEffect(() => {
1701
- if (fieldRef.current && !Object.prototype.hasOwnProperty.call(fieldRef.current || {}, name)) {
1702
- setFieldInstance(name, fieldRef.current);
1703
- }
1701
+ setFieldInstance(name, fieldRef.current);
1704
1702
  }, [name, fieldRef.current]);
1705
1703
  useEffect(() => () => registerField(name, undefined, true), [name]);
1706
1704
  useEffect(() => {