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

[Calendar ] type为range时,新增限制选择长度属性 #3210

Closed
k186 opened this issue Oct 22, 2024 · 2 comments
Closed

[Calendar ] type为range时,新增限制选择长度属性 #3210

k186 opened this issue Oct 22, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@k186
Copy link

k186 commented Oct 22, 2024

这个功能解决了什么问题

当type为range 是 允许设置 limitRange 属性,值为Number,默认不限制,用户可选天数范围限制;

你建议的方案是什么

用户选中一个时间后,当前时间的前后 在LimitRange 范围内可选,其他时间均为disabled

Copy link
Contributor

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

@jarmywang
Copy link
Collaborator

我们内部讨论了一下,认为可以在confirm或者change事件里自行处理做限制或者提示用户即可,暂时不加了,感谢反馈

@jarmywang jarmywang added the enhancement New feature or request label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants