Skip to content

Scheduling infrastructure for absolutely everyone.

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

Stefano Maffeis06cc6741e601
diff --git a/apps/web/components/booking/pages/BookingPage.tsx b/apps/web/components/booking/pages/BookingPage.tsx
index f743d92a156..9025ba53a31 100644
--- a/apps/web/components/booking/pages/BookingPage.tsx
+++ b/apps/web/components/booking/pages/BookingPage.tsx
@@ -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`}
/>
))}
</>