Tencent / Tencent/tdesign-react
[DateRangePicker] enableTimePicker开启时,需要捕获两个日期都选择完成的Function
Open
Nobody has claimed this yet.
💪🏻 enhancement
- Dominant language
- TypeScript
- Stars
- 965
- Forks
- 373
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 17
Description
这个功能解决了什么问题
每次点击时间选择面板,无论是在开始/结束时间选择完成后,还要再选择一下另一个(结束时间/开始时间),需要两个时间都选择完成的callback function
你建议的方案是什么
添加callback function 或其他处理
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.
Research direction
Start at the DateRangePicker implementation and inspect how enableTimePicker handles start- and end-time selection. Determine where a callback could be triggered only after both dates are complete, then verify the behavior for selecting either side first and confirm the requested callback is invoked once both are selected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100