-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
browser: chromecomponent: date-pickerpackage: @carbon/react@carbon/react@carbon/reactrole: dev 🤖severity: 3https://ibm.biz/carbon-severityhttps://ibm.biz/carbon-severitytype: bug 🐛
Description
Package
@carbon/react
Browser
Chrome
Package version
1.93.0
React version
17.0.2
Description
When the user enters a date in an invalid format (e.g., "14/40/2025"), the Date Picker should show an error indicating that the format is incorrect. Instead, it silently replaces the input with "01/01/2025", which can confuse the user since no feedback is provided.
Reproduction/example
https://react.carbondesignsystem.com/?path=/story/components-datepicker--default
Steps to reproduce
- Go to https://react.carbondesignsystem.com/?path=/story/components-datepicker--default
- input the Date as "14/40/2025" using keyboard
- Value is automatically updated to "01/01/2025"
Suggested Severity
None
Application/PAL
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- I checked the current issues for duplicate problems
Metadata
Metadata
Assignees
Labels
browser: chromecomponent: date-pickerpackage: @carbon/react@carbon/react@carbon/reactrole: dev 🤖severity: 3https://ibm.biz/carbon-severityhttps://ibm.biz/carbon-severitytype: bug 🐛
Type
Projects
Status
⏱ Backlog