Skip to content

[EuiDatePicker] Current year not shown on year selection if minDate is set to moment() #4219

@j-m

Description

@j-m

I am using minDate={moment()} to prevent users selecting dates in the past and have no limit on future dates.
If they want to change the year and select 2021, they have no way of getting back to 2020 without going back through all the months.

With minDate={moment()}
image

Without minDate={moment()}
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions