Skip to content

DatePicker 更改选中时间无法触发change事件和毫秒级时间优化 #8237

Open
@erica-bing

Description

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

What problem does this feature solve?

获取组件中待选择时间, 该组件绑定的change事件只有点击确定按钮后才触发change事件,希望增加功能获取当前面板上选中的时间,对用户输入的时间不应该进行忽略。

What does the proposed API look like?

增加新的事件名称用来获取 用户在面板中选择的时间。

Version

5.26.1

What is this feature about?

  1. 该组件绑定的change事件只有点击确定按钮后才触发change事件,希望增加功能获取当前面板上选中的时间。

Image

  1. 对毫秒时间的优化,我组件配置参数为::show-time="{ format: 'HH:mm:ss.SSS' }" format="YYYY-MM-DD HH:mm:ss.SSS" ,我在组件的输入框内输入毫秒值,点击确认按钮后毫秒数值直接变成0了。

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions