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] 当前表单组件校验触发了其他的表单组件 #2100

Closed
huangpiqiao opened this issue Feb 4, 2023 · 3 comments
Closed

[Form] 当前表单组件校验触发了其他的表单组件 #2100

huangpiqiao opened this issue Feb 4, 2023 · 3 comments
Assignees
Labels
to be published fixed, not be published

Comments

@huangpiqiao
Copy link
Contributor

tdesign-vue 版本

1.0.8

重现链接

https://tdesign.tencent.com/vue/components/form#%E4%B8%8D%E5%90%8C%E6%A0%A1%E9%AA%8C%E8%A7%84%E5%88%99%E7%9A%84%E8%A1%A8%E5%8D%95

重现步骤

选择“籍贯”触发了“入学时间”的校验
image

期望结果

选择”籍贯“不会触发”入学时间“的校验

实际结果

选择”籍贯“触发了”入学时间“的校验

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2023

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2023

♥️ 有劳 @dellyoung @chaishi @ccccpj 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @huangpiqiao

@chaishi
Copy link
Collaborator

chaishi commented Feb 4, 2023

  1. 检查是否每个 FormItem 都有独立的属性 name,不和其他任何表单项重复
  2. 如果存在数组,请给 FormItem 设置唯一 key 属性

@chaishi chaishi added the to be published fixed, not be published label Feb 6, 2023
This was referenced Feb 8, 2023
@uyarn uyarn closed this as completed Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

3 participants