Tencent / tdesign-vue-next

A Vue3.x UI components lib for TDesign.
https://tdesign.tencent.com/vue-next
MIT License
1.44k stars 463 forks source link

[t-form] 嵌套 form 时,父 form 有 rules 校验,但子 form 不想受父 form 的 error 样式影响,目前是子 form 内的 input 也会变红。 #3861

Open vikyd opened 9 months ago

vikyd commented 9 months ago

tdesign-vue-next 版本

1.8.0

重现链接

https://stackblitz.com/edit/8vzue8?file=package.json,src%2Fdemo.vue

image

重现步骤

No response

期望结果

子 form 的校验红色可配置不受父 form 的影响

实际结果

子 form 的 input 也变成红色了

github-actions[bot] commented 9 months ago

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