Skip to content

feat(DatePicker): add needConfirm API for enableTime DatePicker #4411

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

Merged
merged 5 commits into from
Jul 18, 2024

Conversation

Cat1007
Copy link
Collaborator

@Cat1007 Cat1007 commented Jul 17, 2024

🤔 这个 PR 的性质是?

  • 新特性提交

💡 需求背景和解决方案

TDesignOteam/tdesign-api#335

使用例子
https://stackblitz.com/edit/79hxkg?file=package.json,src%2Fdemo.vue

该 API 下关于 DatePicker 的实现

📝 更新日志

  • feat(DatePicker): 新增 needConfirm API,支持日期时间选择器不需要点击确认按钮保存选择时间

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

Copy link
Contributor

github-actions bot commented Jul 17, 2024

完成

@uyarn
Copy link
Collaborator

uyarn commented Jul 17, 2024

/update-snapshot

@uyarn uyarn changed the title feat(DatePicker): ✨ 增加不需要确认直接保存的能力 feat(DatePicker): add needConfirm API for enableTime DatePicker Jul 17, 2024
@uyarn
Copy link
Collaborator

uyarn commented Jul 17, 2024

needConfirm false OK,默认 true 的行为不太对,直接失焦输入框应该恢复到原来的状态而不是二次点击才恢复

@Cat1007
Copy link
Collaborator Author

Cat1007 commented Jul 18, 2024

needConfirm false OK,默认 true 的行为不太对,直接失焦输入框应该恢复到原来的状态而不是二次点击才恢复

done

@uyarn uyarn merged commit 794ee07 into Tencent:develop Jul 18, 2024
6 checks passed
@github-actions github-actions bot mentioned this pull request Jul 22, 2024
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants