We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.9.8
https://tdesign.tencent.com/vue/components/form?tab=api
rules: { name: [{ required: true, whitespace: true }], } 创建一个表单,并写入一个input,使用rules来验证,输入空格即可重现
required和whitespace一起使用均可以生效
required独立使用生效 whitespace独立使用生效 required和whitespace一起使用,则required生效,whitespace不生效
2.6.14
No response
16
The text was updated successfully, but these errors were encountered:
👋 @mdxiaohu,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
published 1.10.0
No branches or pull requests
tdesign-vue 版本
1.9.8
重现链接
https://tdesign.tencent.com/vue/components/form?tab=api
重现步骤
rules: {
name: [{
required: true,
whitespace: true
}],
}
创建一个表单,并写入一个input,使用rules来验证,输入空格即可重现
期望结果
required和whitespace一起使用均可以生效
实际结果
required独立使用生效
whitespace独立使用生效
required和whitespace一起使用,则required生效,whitespace不生效
框架版本
2.6.14
浏览器版本
No response
系统版本
No response
Node版本
16
补充说明
No response
The text was updated successfully, but these errors were encountered: