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
@@ -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>