Tencent / Tencent/tdesign-react

[DateRangePicker] enableTimePicker开启时,需要捕获两个日期都选择完成的Function

Open
#3,130 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.