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

[ic-radio-button] entering value in conditional field selects all radio buttons with same value

Open lz405 opened this issue 1 year ago • 0 comments

Summary of the bug

Entering the same value in two different conditional fields selects all radio buttons which share a value

🪜 How to reproduce

Tell us the steps to reproduce the problem:

  1. have two radio buttons in the same group, both with conditional dynamic text fields
  2. enter some text in one of the text fields
  3. enter the same text in the other text field
  4. both radio buttons will be selected Sometimes this will occur when no text is entered in both and no placeholder value exists, though I've not been able to reproduce this in a storybook

📸 Screenshots or code

image image

🖥 📱 Device

  • Browser version: Firefox 131.0.2

🧐 Expected behaviour

Only the currently selected radio button should be selected when the same text is entered in different conditional fields

📝 Acceptance Criteria

If relevant, describe in full detail the different interactions and edge cases that the component or patterns needs to fulfil.

Given Two radio buttons in the same group, both with conditional fields When
The same text is entered in both conditional fields Then Only the currently selected radio button should be selected

Additional info

Could be blocked by fixing this issue

lz405 avatar Oct 10 '24 11:10 lz405