Skip to content

Datepicker with custom yearRange; curent year in the middle of dropdown #2222

Open
@crocimi

Description

@crocimi

Per default, with "changeYear: true" the current year is in the middle of the dropdown, allowing selecting a year close to the current one without scrolling.

image

If I define a yearRange: "c-100:c+100" the current year is displayed on the bottom of the dropdown, se selecting a following year request a scroll operation.

image

It's possible to change it so that the current year is always in the middle?

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