ic-ui-kit icon indicating copy to clipboard operation
ic-ui-kit copied to clipboard

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

Open GCHQ-Developer-530 opened this issue 1 year ago • 1 comments

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.

GCHQ-Developer-530 avatar Jun 18 '24 13:06 GCHQ-Developer-530

Add a test for setting disabled on the group

MI6-255 avatar Aug 15 '24 09:08 MI6-255