Skip to content

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

@baiyunchen

Description

@baiyunchen
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions