Skip to content

Commit

Permalink
feat: pass all rest parameters to checkbox in LabeledCheckbox
Browse files Browse the repository at this point in the history
  • Loading branch information
paring-chan committed Mar 20, 2024
1 parent 340adba commit e043b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/form/LabeledCheckbox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<!-- svelte-ignore a11y-label-has-associated-control -->
<label class="labeled-checkbox-container">
<Checkbox bind:checked />
<Checkbox bind:checked {...$$restProps} />
<span class="label" class:checked>
<Translation key={label} />
</span>
Expand Down

0 comments on commit e043b03

Please sign in to comment.