Skip to content

Cannot type in dates before 1800 BC with minDate set before 1800 BC #5718

@kostia

Description

@kostia

When setting minDate to anything before 1800 BC, it is still impossible to type in dates before 1800 BC.

In an app we've incorporated an art gallery API. Some of the artworks are very old (e.g. from 1350, https://open.smk.dk/en/artwork/image/KKSgb15226). In order to filter the artworks by date, we would like to use the date picker. Since the limits for the filter might lay thousands of years apart, it is sometimes necessary to enter the dates manually.

Steps to reproduce the behavior

  1. Set minDate to new Date(1000, 0)
  2. Open the date picker
  3. Type 1799-01-01 00:00 into the input field
  4. Finish typing by pressing "Enter"

Expected behavior

The date picker uses the given date 1799-01-01

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions