x-ui-design 0.4.84 → 0.4.86

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
@@ -717,6 +717,7 @@ const useForm = (initialValues = {}, onFieldsChange, onValuesChange, scrollToFir
717
717
  if (remove) {
718
718
  delete formRef.current[stepRef.current]?.[name];
719
719
  delete rulesRef.current[name];
720
+ delete fieldInstancesRef.current[name];
720
721
  } else {
721
722
  if (!(name in formRef.current[stepRef.current])) {
722
723
  formRef.current[stepRef.current][name] = initialValues?.[name];