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

Support needConfirm for time-picker and date-picker component #7978

Open
1 task
baiyunchen opened this issue Dec 15, 2024 · 0 comments
Open
1 task

Support needConfirm for time-picker and date-picker component #7978

baiyunchen opened this issue Dec 15, 2024 · 0 comments

Comments

@baiyunchen
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

当用户改变了时间选择框或日期选择框的值,然后光标离开控件后,可以保留用户选中的值。

What does the proposed API look like?

React版本的Antd已经支持了相关的API: https://ant-design.antgroup.com/components/time-picker-cn#time-picker-demo-change-on-scroll

参数名: needConfirm

含义: 是否需要确认按钮,为 false 时失去焦点即代表选择

类型:boolean

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

No branches or pull requests

1 participant