Skip to content

DatePicker组件设置默认时间之后无法禁用当天 #1416

@yanglisunny

Description

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

Version

1.4.4

Environment

windows chrome

Reproduction link

Edit on CodeSandbox

Steps to reproduce

提供的沙箱中的代码是react,也同样有这个问题

What is expected?

期望无论是否展示默认值,都能正确禁用日期

What is actually happening?

设置默认值之后禁用日期中的当天禁用设置失效,去掉默认值之后正确禁用

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