mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-26 08:01:38 +00:00
fix toggle
This commit is contained in:
@@ -16,14 +16,14 @@
|
||||
{#if Boolean(options?.left)}
|
||||
<span class="mr-2 text-sm font-medium text-gray-900">{options?.left}</span>
|
||||
{/if}
|
||||
<div class="relative">
|
||||
<div class="relative" on:click|stopPropagation={() => {}}>
|
||||
<input
|
||||
type="checkbox"
|
||||
value={false}
|
||||
{id}
|
||||
class="sr-only peer"
|
||||
bind:checked
|
||||
on:change={() => {
|
||||
on:change|stopPropagation={(e) => {
|
||||
dispatch('change', checked)
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user