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和buttom添加id 和 form #4448

Closed
renjiali opened this issue Jul 30, 2024 · 3 comments
Closed

为form和buttom添加id 和 form #4448

renjiali opened this issue Jul 30, 2024 · 3 comments
Labels
to be published to be published

Comments

@renjiali
Copy link

这个功能解决了什么问题

表单在Dialog 等组件时,提交按钮在form表单之外。应该使用原生能力去触发提交事件,而不是通过ref

你建议的方案是什么

image
目前是可以触发提交事件,应为他们的ts类型加上id 和form 字段

Copy link
Contributor

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

@renjiali
Copy link
Author

image
这样写看起来太不方便了

@uyarn
Copy link
Collaborator

uyarn commented Sep 10, 2024

supported 1.10.0

@uyarn uyarn closed this as completed Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be published to be published
Projects
None yet
Development

No branches or pull requests

2 participants