We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.7.0
https://codesandbox.io/p/sandbox/tdesign-react-demo-forked-jr45f7
使用 shouldUpdate 监听 type 数值切换,并且填写类型一数据,然后切换到类型二, shouldUpdate 内的类型一表单数据会被替换到类型二的表单内
各自Form.FormItem控制各自的数据
两边数据串了
No response
The text was updated successfully, but these errors were encountered:
👋 @duxphp,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
加个 key 试试看
或许这里应该在 FormItem 组件内部处理一下,没有 key 的时候拿 name 作为 key?毕竟在使用的时候写了 name,直觉上会觉得这里会区分
No branches or pull requests
tdesign-react 版本
1.7.0
重现链接
https://codesandbox.io/p/sandbox/tdesign-react-demo-forked-jr45f7
重现步骤
使用 shouldUpdate 监听 type 数值切换,并且填写类型一数据,然后切换到类型二, shouldUpdate 内的类型一表单数据会被替换到类型二的表单内
期望结果
各自Form.FormItem控制各自的数据
实际结果
两边数据串了
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response
The text was updated successfully, but these errors were encountered: