Make radio field id unique by adding custom input id to their identifier (#6224)

pull/6218/head^2
Stefano Maffeis 2022-12-30 18:52:03 +01:00 committed by GitHub
parent ed1478e1ba
commit 06cc6741e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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`}
/>
))}
</>