Skip to content

Datepicker field - Inconsistency in accepting leap day input via keyboard #5965

Open
@CristinaTriff

Description

@CristinaTriff

Provide a general summary of the issue here

I am seeking to input the date value of 02/29/2024 into the datepicker field exclusively via keyboard input. However, upon entering the first character for the year, the day field automatically changes from 29 to 28.

🤔 Expected Behavior?

02/29/2024 value should be accepted when set from the keyboard.

😯 Current Behavior

The day value 29 is automatically changed to 28 after typing the first character of the year.

💁 Possible Solution

Implement a debounce mechanism on the keyboard to defer validation and automated updates until a period of no events being intercepted for the respective field has elaspsed.

🔦 Context

No response

🖥️ Steps to Reproduce

In the datepicker field type 022920

Datepicker-leapYear.mp4

Version

18.2.0

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

Windows

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions