Make checkbox inputs can default to unchecked

This commit is contained in:
Oliver-Akins 2025-07-25 22:26:50 -06:00
parent 312202191d
commit 27dbc2db47
2 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,12 @@
<label
for="{{id}}"
>
{{ label }}
</label>
<input
type="checkbox"
id="{{ id }}"
name="{{ key }}"
{{ checked defaultValue }}
{{#if autofocus}}autofocus{{/if}}
>