Make radio field id unique by adding custom input id to their identifier (#6224)
parent
ed1478e1ba
commit
06cc6741e6
|
@ -809,9 +809,9 @@ const BookingPage = ({
|
|||
{input.options.map((option, i) => (
|
||||
<RadioField
|
||||
label={option.label}
|
||||
key={`option.${i}.radio`}
|
||||
key={`option.${input.id}.${i}.radio`}
|
||||
value={option.label}
|
||||
id={`option.${i}.radio`}
|
||||
id={`option.${input.id}.${i}.radio`}
|
||||
/>
|
||||
))}
|
||||
</>
|
||||
|
|
Loading…
Reference in New Issue