[Bug] DatePicker: disabled state ignored when readOnly is also true
Author: Jo-hub-maxCreated Mar 13, 2026Updated Sep 18, 2026
Labelstype: bug 🐛status: help wanted 👐good first issue 👋role: dev 🤖browser: chromepackage: @carbon/reactneeds: community contributionneeds: code contribution
Package
@carbon/web-components
Browser
Chrome
Package version
version is 2.47.0
React version
No response
Description
Noticed that when setting Read only to true that is overriding the Disabled control when set to true in Date Picker. Input field is no longer disabled as expected.
Reproduction/example
n/a
Steps to reproduce
Navigate to Date Picker Click on Default story Set Disabled control to true Set Read Only to true Read Only overwrites the Disabled control Date Picker is set to Read Only when still disabled
See screen recording attached
Suggested Severity
Severity 3 = User can complete task, and/or has a workaround within the user experience of a given component.
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
Source: carbon-design-system/carbon