Skip to content

Commit 7c5eb46

Browse files
authored
fix combobox option props mismatch and textarea prop spreading (#2550)
1 parent 0802edc commit 7c5eb46

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Diff for: src/lib/holocene/combobox/combobox-option.svelte

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
interface Props {
55
selected?: boolean;
66
disabled?: boolean;
7-
multiselect?: boolean;
87
label: string;
98
}
109

Diff for: src/lib/holocene/combobox/combobox.svelte

-1
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,6 @@
494494

495495
{#each list as option}
496496
<ComboboxOption
497-
{multiselect}
498497
on:click={() => handleSelectOption(option)}
499498
selected={isSelected(option, value)}
500499
label={getDisplayValue(option)}

Diff for: src/lib/holocene/textarea.svelte

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<textarea
5555
bind:value
5656
class={merge(
57-
'surface-primary min-h-fit w-full px-3 py-2 text-sm focus-visible:outline-none',
57+
'surface-primary min-h-fit w-full px-3 py-2 text-sm placeholder:text-secondary focus-visible:outline-none',
5858
disabled && 'cursor-not-allowed opacity-50',
5959
)}
6060
{id}
@@ -68,6 +68,7 @@
6868
on:blur
6969
on:keydown|stopPropagation
7070
maxlength={maxLength > 0 ? maxLength : undefined}
71+
{...$$restProps}
7172
/>
7273
</div>
7374
<div class="flex justify-between gap-2">

0 commit comments

Comments
 (0)