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

[t-date-range-picker-panel] 希望在表格表头使用时间范围筛选的时候,能支持动态设置禁用范围 #3396

Open
jieyuming opened this issue Nov 19, 2024 · 3 comments
Labels
need more info need more info

Comments

@jieyuming
Copy link

这个功能解决了什么问题

目前需要需求,表格的表头配置t-date-range-picker-panel来筛选时间范围数据,选中开始时间,就要动态设置最近1年的时间可选,其它时间禁用,目前的disable-date属性只适合普通表单场景下设置禁用范围,但不适用于表头筛选场景

你建议的方案是什么

希望可以在Table组件表头配置时间范围筛选的时候,支持动态设置禁用范围

Copy link
Contributor

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

@uyarn uyarn added the need more info need more info label Dec 5, 2024
@uyarn
Copy link
Collaborator

uyarn commented Dec 5, 2024

https://stackblitz.com/edit/ccgrxd-kzndsy?file=src%2Fdemo.vue 动态的设置不是把disableDate配置为data即可吧 这样不可以满足吗

@jieyuming
Copy link
Author

jieyuming commented Dec 5, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need more info need more info
Projects
None yet
Development

No branches or pull requests

2 participants