Skip to content

DatePicker disabledDate have the difference behavior #5209

@lovedemo

Description

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

Version

1.7.2

Environment

vue2.x

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1.click the empty time-range-picker
2.select 2022-02-25
3.click the setValue time-range-picker
4.select 2022-02-25

What is expected?

the 2022-02-25 can be selected

What is actually happening?

the empty one can't select 2022-02-25


the disabledate method of time-range-picker have the diff date value , because It don't use the format option when the value is a emptyArray

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