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:
@@ -46,7 +46,7 @@ const blueHex = (site as { colors: { blue: { hex: string } } }).colors.blue.hex
|
||||
return (
|
||||
<div class="col-6 col-sm-4">
|
||||
<label class="form-imagecheck mb-2">
|
||||
<input name="form-imagecheck-radio" type="radio" value={index} class="form-imagecheck-input" checked={index === 2 || index === 4 || index === 7} />
|
||||
<input name="form-imagecheck-radio" type="radio" value={index} class="form-imagecheck-input" checked={index === 2} />
|
||||
<span class="form-imagecheck-figure">
|
||||
<img src={`./static/photos/${photo.file}`} alt={photo.title} class="form-imagecheck-image" />
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user