Skip to content

When the a-range-picker component prohibits the selection of the time after the current time, the OK button becomes disabled when the hour, second, and minute selected by the non-current date are greater than the hour, second, and minute of the current date (time range verification failed) #5621

@yaowangmx

Description

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

Version

1.7.7

Environment

vue: 2.6.11 moment: 2.29.1

Reproduction link

Edit on CodeSandbox

Steps to reproduce

选择一个非当日日期与一个当日日期然后选择 select date,第一个时间选择大于当前时秒分的时间就可以看到OK按钮变灰

What is expected?

非当日日期选择的时秒分大于当日日期时秒分时,OK按钮为可点击状态

What is actually happening?

非当日日期选择的时秒分大于当日日期时秒分时,OK按钮会变灰(日期范围检验失败)

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