Fix radio input groups missing shared name across preview forms (#2826)

This commit is contained in:
Bartosz-Do
2026-08-07 23:48:54 +02:00
committed by GitHub
parent a0d84f66fe
commit e1630cd918
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ const countryItems = (countries as { name: string; flag: string }[]).slice(0, 5)
) : check || radio ? (
[1, 2, 3].map((i) => (
<label class="dropdown-item">
<input class="form-check-input m-0 me-2" type={radio ? 'radio' : 'checkbox'} /> Option {i}
<input class="form-check-input m-0 me-2" type={radio ? 'radio' : 'checkbox'} name={radio ? 'dropdown-menu-radio' : undefined} /> Option {i}
</label>
))
) : showPeople ? (