updated handling of checkboxes

This commit is contained in:
danremollino committed 2025-04-07 01:22:09 -04:00
1 parent cb306cefd5
commit 80e996a281
2 files changed
+33 -48

No files matched your search

+2 -2
View File
@@ -58,11 +58,11 @@
<fieldset class="form-group">
<legend>Check Group</legend>
<span class="form-group__item">
<input data-validation='{"optional": true, "maxCount": 2}' id="checkbox-1" type="checkbox" name="checks">
<input data-validation='{"maxCount": 2}' id="checkbox-1" type="checkbox" name="checks">
<label for="checkbox-1">Checkbox 1</label>
</span>
<span class="form-group__item">
<input id="checkbox-2" type="checkbox" name="checks">
<input data-validation='{"optional": false}' id="checkbox-2" type="checkbox" name="checks">
<label for="checkbox-2">Checkbox 2</label>
</span>
<span class="form-group__item">