Tencent / Tencent/tdesign-react
[Datepicker] 现有api难以实现类似于“只能选择一个连续7天范围”的功能
Open
@xiaosansiji is already working on this.
Since May 31, 2023.
💪🏻 enhancement
- Dominant language
- TypeScript
- Stars
- 965
- Forks
- 373
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 17
Description
这个功能解决了什么问题
期望实现功能 demo
选择不超过七天的范围
现有的 api 似乎难以实现这种功能, 如果加上 enableTimePicker 的话,感觉更是雪上加霜。。
不知道是不是我理解有误,期望有大佬能提示下实现这种功能的姿势
你建议的方案是什么
期望添加类似于 onCalendarChange 等 api,可以更好的实现上述功能
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.