Skip to content

Commit

Permalink
Fix ToggleOption value sometimes being converted to string due to bin…
Browse files Browse the repository at this point in the history
…d:value (#294)
  • Loading branch information
techniq committed Mar 12, 2024
1 parent 1d50a0e commit 35e2d4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cold-trains-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"svelte-ux": patch
---

Fix ToggleOption value sometimes being converted to string due to bind:value
1 change: 0 additions & 1 deletion packages/svelte-ux/src/lib/components/ToggleOption.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
on:click={() => selectOption(optionElement, value)}
on:click
type="radio"
bind:value
class="appearance-none absolute"
checked={selected}
/>
Expand Down

0 comments on commit 35e2d4e

Please sign in to comment.