Skip to content
New issue

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

[Form] FormList 首次setFieldsValue无效 #2403

Open
nickcdon opened this issue Jul 31, 2023 · 6 comments
Open

[Form] FormList 首次setFieldsValue无效 #2403

nickcdon opened this issue Jul 31, 2023 · 6 comments
Assignees
Labels
🐞 bug Something isn't working in progress in progress

Comments

@nickcdon
Copy link
Contributor

tdesign-react 版本

1.1.17

重现链接

https://codesandbox.io/s/tdesign-react-demo-forked-hjfdyx?file=/src/demo.jsx

重现步骤

期望结果

setFieldsValue 生效。

实际结果

首次不生效

框架版本

react 18.2

浏览器版本

No response

系统版本

No response

Node版本

v16.20.1

补充说明

No response

@github-actions
Copy link
Contributor

👋 @nickcdon,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@github-actions
Copy link
Contributor

♥️ 有劳 @ximendatie @cuijinyu @BaoTao1997 @yume316 @honkinglin 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @nickcdon

@nickcdon
Copy link
Contributor Author

此外,initialData配置了,初始FormList的name value 为[],后更新initialData,FormList的name value为[{xx: 'xxx'}],再form.reset({type: 'initial'}),同样无效

@uyarn uyarn added to be published fixed, not be published in progress in progress and removed to be published fixed, not be published labels Aug 4, 2023
@duxphp
Copy link
Contributor

duxphp commented Dec 26, 2023

这问题好像还没解决

@HaixingOoO
Copy link
Collaborator

这问题好像还没解决

1.2.2已经修复了的

@duxphp
Copy link
Contributor

duxphp commented Jan 23, 2024

这问题好像还没解决

1.2.2已经修复了的

经过使用并没有修复。。

@HaixingOoO HaixingOoO added the 🐞 bug Something isn't working label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working in progress in progress
Projects
None yet
Development

No branches or pull requests

5 participants