Skip to content

enter date manually in format YY prevent the user to add YYYY #956

@MatteoGiacomo

Description

@MatteoGiacomo

reproduction link

When the datepicker supports both DD-MM-YYYY and DD-MM-YY or MMDDYY and MMDDYYYY as formats, the user is unable to type YYYY properly.

Step to reproduce:

from the date picker example

  • enter date manually character by character "01-12-2024"

What is expected?

The user should have time to enter the date properly, and the date picker should show the date 01/12/2024

What is actually happening?
As soon as the user starts entering the years, after the second character, the datepicker shows 01/12/2020

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