moz-radio disabled state cannot be changed while the moz-radio-group is disabled
Categories
(Toolkit :: UI Widgets, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: mstriemer, Assigned: akulyk)
References
(Blocks 1 open bug)
Details
(Whiteboard: [recomp])
Attachments
(1 file)
While reviewing bug 2025574 I noticed that the inverse of the test (enabled radio group, disable the radio group, enable the radio group) doesn't work. This appears to be an existing issue, due to how we manage the group being disabled
Our moz- components generally have a parentDisabled property, which stores the parent's disabled state independently of its own disabled state. However the SelectControlItemMixin doesn't have this concept, and instead relies on this.#controller.disabled (is the group disabled) and prevents changing disabled property to false when its parent is disabled (searchfox)
We should update the SelectControlItemMixin to support the parentDisabled concept, which will allow it to independently manage both disabled states and allow a moz-radio to be "enabled" while its parent is disabled (it stays functionally disabled until its parent is enabled, but is enabled at that point)
Updated•2 months ago
|
Comment 3•1 month ago
|
||
| bugherder | ||
Updated•11 days ago
|
Description
•