You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
调用表单的resetFields方法后,formState莫名多出一个{ undefined: undefined } 属性
After calling the resetFields method of the form, formState has a {undefined: undefined} property inexplicably
Jul 27, 2021
Version
2.2.2
Environment
browser version
Reproduction link
https://2x.antdv.com/components/form-cn
Steps to reproduce
第一步:找到官网的form组件,https://2x.antdv.com/components/form-cn;
第二步:使用右侧导航栏选择“表单验证”,直达表单验证例子;打开浏览器的控制台的console;
第三步:按照要求输入表单的值,点击"create"按钮,在控制台查看输出的formState;
第三步:点击“reset”按钮,再次按照要求输入表单的值,再次点击“create”按钮,在控制台查看输出的formState,会发现多出一个{ undefined: undefined}属性。
What is expected?
2次输出的formState相同。
What is actually happening?
第一次输出的formState正常; reset后,再次create的输出的formState多出一个{ undefined: undefiend } 属性。
The text was updated successfully, but these errors were encountered: