Skip to content

Commit

Permalink
Fix: desc was missing for input checkbox fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnXLivingston authored and jcbrand committed Aug 6, 2024
1 parent 5017efb commit 8b5b8e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/templates/form_checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ export default (o) => html`
?readonly=${o.readonly}
?checked=${o.checked}
?required=${o.required} />
<label class="form-check-label" for="${o.id}">${o.label}</label>
<label class="form-check-label" for="${o.id}">
${o.label}
${(o.desc) ? html`<small class="form-text text-muted">${o.desc}</small>` : ''}
</label>
</fieldset>`;

0 comments on commit 8b5b8e6

Please sign in to comment.