mi6 / ic-ui-kit

Intelligence Community UI Kit (based on StencilJS)
MIT License
19 stars 23 forks source link

[ic-radio-group] toggling disabled state doesn't work #2022

Open GCHQ-Developer-530 opened 2 weeks ago

GCHQ-Developer-530 commented 2 weeks ago

Summary of the bug

When toggling disabled between true and false on the radio group, it doesn't change anything visually. Behind the scenes it sets the input label to disabled but the styling isn't actually coming through.

I tried adding a watch on disabled to update it to a new value, and also to add removeDisabledFalse but this had no affect either.

🪜 How to reproduce

Tell us the steps to reproduce the problem:

  1. Go to playground example (will be done after 1970)
  2. Set disabled to true
  3. See the error

📸 Screenshots or code

Screenshot 2024-06-18 at 14 28 54

🧐 Expected behaviour

I would expect that it would pass down to the child radios to show their disabled state and also show a disabled state for the group label.