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

🐛[BUG]EditableProTable可新增多行时,点击默认保存按钮,会校验多行,期望只校验当前行 #8085

Open
a747097587 opened this issue Jan 15, 2024 · 1 comment

Comments

@a747097587
Copy link

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🐛 bug 描述

EditableProTable可新增多行时,点击默认保存按钮,会校验多行,期望只校验当前行

📷 复现步骤

https://procomponents.ant.design/components/editable-table#%E4%B8%8E-formitem-%E9%85%8D%E5%90%88
官网的与 FormItem 配合示例,新增两行后,只填写一行的信息,点击保存,会校验两行的数据。两行信息都填写完整后点击保存,只会保存一行的数据。
image
image

🏞 期望结果

点击保存时,要么所有行信息都校验,然后保存所有行信息;要么只校验当前行信息,保存当前行信息。而此处保存按钮的位置,应该是只校验当前行信息,保存当前行信息

💻 复现代码

© 版本信息

🚑 其他信息

@baixiaomei
Copy link

同上,目前没有人解答吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants