Skip to content

[RangePicker]disabled won't work with show-time when dates are the same and time not #5286

@billychannnnnn

Description

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

Version

3.0.0-beta.10

Environment

Vue3.x、Chrome latest、MacOS

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. Set disabled = [false, true]. Set end time with a initial value.
  2. Select a start time smaller than end time;
  3. Set start time to same date as end time but bigger time.(eg. 2022-2-25 01:00 - 2022-2-25 00:00)

What is expected?

Setting to start time failed and no change on end time.

What is actually happening?

Start time and end time would exchange even when end time is disabled.

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