Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte committed Nov 30, 2023
1 parent 96ef625 commit ca314e1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/lib/bits/checkbox/components/checkbox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
{...attrs}
on:m-click={dispatch}
on:m-keydown={dispatch}
disabled={disabled ? true : undefined}
>
<slot {...slotProps} />
</button>
Expand Down
7 changes: 6 additions & 1 deletion src/lib/bits/select/components/select-input.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,10 @@
{#if asChild}
<slot {...slotProps} />
{:else}
<input use:melt={builder} {...$$restProps} {...attrs} />
<input
use:melt={builder}
{...$$restProps}
{...attrs}
disabled={$disabled ? true : undefined}
/>
{/if}

0 comments on commit ca314e1

Please sign in to comment.