Skip to content

[a-range-picker] mode [year, year] Expected function error, please refer to [month, month] type function for details #5562

@tansentcn

Description

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

Version

1.7.8

Environment

Vue2

Reproduction link

Edit on CodeSandbox

Steps to reproduce

rangePicker
set prop :mode=['year', 'year']

What is expected?

年份区间无法正确选择

月份范围选择,正确选择和禁用
image

年份范围选择,错误选择和禁用
image

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