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

[FormItem] name 数组嵌套, Number数值键导致稀疏数组问题 #3129

Open
Except10n opened this issue Oct 8, 2024 · 4 comments
Open
Labels
🐞 bug Something isn't working

Comments

@Except10n
Copy link
Contributor

Except10n commented Oct 8, 2024

tdesign-react 版本

1.9

重现链接

https://stackblitz.com/edit/vitejs-vite-fv3ufe?file=src%2FApp.tsx

重现步骤

<Form.FormItem label="姓名" name={['user', '123456','name']}>

</Form.FormItem>

期望结果

No response

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

需要额外编码处理这个123456的key,能否在组件层面解决?

Copy link
Contributor

github-actions bot commented Oct 8, 2024

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

@Except10n
Copy link
Contributor Author

@HaixingOoO

@HaixingOoO
Copy link
Collaborator

@Except10n 能否提供個demo來看看是怎麼樣的,最近忙,不好意思

@Except10n
Copy link
Contributor Author

https://stackblitz.com/edit/vitejs-vite-fv3ufe?file=src%2FApp.tsx

@HaixingOoO 已补充demo, 麻烦有空查看下 :)

@HaixingOoO HaixingOoO added the 🐞 bug Something isn't working label Oct 17, 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
Projects
None yet
Development

No branches or pull requests

2 participants