RangeControl: Missing disabled style and behaviour. #20319
Labels
[Package] Components
/packages/components
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
[Type] Regression
Related to a regression in the latest release
Describe the bug
After the changes in #19916, setting the
disabled
prop on aRangeControl
component no longer makes it appear disabled.Additionally, the
disabled
prop is not being passed to theInputNumber
, so the value of theRangeControl
can still be changed, despite being disabled.I also noticed that the
disabled
prop isn't shown in theRangeControl
storybook.To reproduce
Steps to reproduce the behaviour:
RangeControl
, with thedisabled
prop set totrue
.Expected behavior
That the value of the
RangeControl
doesn't change when it's disabled, and it has a visual appearance of being disabled.The text was updated successfully, but these errors were encountered: