Skip to content

DatePicker 设置了 disabledDate 并且显示时间,在禁用的时间范围内,选择面板的 OK 按钮不可用,但input框的值已经改变 #2649

@sanmaozhao

Description

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

Version

1.6.4

Environment

Chrome 84

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1、打开样例链接
2、点击输入框
3、点击 select time
4、选择一个比当前时间更早的时间

What is expected?

比当前更早的时间,应该不可选择

What is actually happening?

可以看到ok按钮是灰色的,但是选中的时间已经更新到input框中

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions