mirror of
https://github.com/tabler/tabler.git
synced 2026-08-29 13:21:29 +04:00
Fix radio input groups missing shared name across preview forms (#2826)
This commit is contained in:
@@ -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 ? (
|
||||
|
||||
Reference in New Issue
Block a user