enter date manually in format YY prevent the user to add YYYY
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
๐ CodeRabbit Plan Mode
Generate an implementation plan and prompts that you can use with your favorite coding agent.
- [ ] Create Plan
๐ Similar Issues
Possible Duplicates
- https://github.com/react-component/picker/issues/911
Related Issues
- https://github.com/react-component/picker/issues/946
- https://github.com/react-component/picker/issues/935
- https://github.com/react-component/pagination/issues/663
๐ค Suggested Assignees
๐งช Issue enrichment is currently in open beta.
To disable automatic issue enrichment, add the following to your .coderabbit.yaml:
issue_enrichment:
auto_enrich:
enabled: false
๐ฌ Have feedback or questions? Drop into our discord or schedule a call!