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

[FormList] 能否支持对于FormList本身的校验 #2966

Open
1379255913 opened this issue Jun 27, 2024 · 2 comments
Open

[FormList] 能否支持对于FormList本身的校验 #2966

1379255913 opened this issue Jun 27, 2024 · 2 comments
Labels
💭 discussion we are discussing

Comments

@1379255913
Copy link

这个功能解决了什么问题

对于一个动态增减嵌套表单,如果要对与FormList本身进行校验该怎么做呢,我这里写了一个demo但是没有效果,请问目前是否有这个功能,如果有的话能否指导一下如何写,如果没有的话能否添加这个功能

demo的地址 https://stackblitz.com/edit/react-h4zdyq?file=src%2Fdemo.tsx
类似的antd的写法 https://stackblitz.com/edit/react-h4zdyq?file=src%2Fdemo.tsx

你建议的方案是什么

添加对FormList校验的方法

Copy link
Contributor

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

@HaixingOoO
Copy link
Collaborator

HaixingOoO commented Jun 28, 2024

FormList校验 目前是沒有的,我们讨论下先

@HaixingOoO HaixingOoO added the 💭 discussion we are discussing label Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💭 discussion we are discussing
Projects
None yet
Development

No branches or pull requests

2 participants