Skip to content

when DatePicker.RangePicker set mode=['month', 'month'] , there disabledDate is wrong  #9008

@sharkwarn

Description

@sharkwarn

Version

3.1.3

Environment

react

Reproduction link

https://sharkwarn.github.io/#/

Steps to reproduce


  disabledDate=(value) => {
    return true
  }
....
  render() {
    return (
      <div>
          <RangePicker
            disabledDate={this.disabledDate}
            mode={ ['month', 'month']}
          />
      </div>
    )

What is expected?

disabled some Date

What is actually happening?

The disabledDate doesn't work

Metadata

Metadata

Assignees

Labels

InactiveIssueHuntFesthelp wantedThe suggestion or request has been accepted, we need you to help us by sending a pull request.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions