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] required和whitespace同时使用,则whitespace不生效 #3262

Closed
mdxiaohu opened this issue Aug 6, 2024 · 2 comments
Closed

[Form] required和whitespace同时使用,则whitespace不生效 #3262

mdxiaohu opened this issue Aug 6, 2024 · 2 comments
Labels
to be published fixed, not be published

Comments

@mdxiaohu
Copy link

mdxiaohu commented Aug 6, 2024

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

Copy link
Contributor

github-actions bot commented Aug 6, 2024

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

@mdxiaohu mdxiaohu closed this as completed Aug 6, 2024
@mdxiaohu mdxiaohu reopened this Aug 19, 2024
@uyarn uyarn added the to be published fixed, not be published label Aug 28, 2024
@uyarn
Copy link
Collaborator

uyarn commented Aug 29, 2024

published 1.10.0

@uyarn uyarn closed this as completed Aug 29, 2024
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

2 participants