select nits

This commit is contained in:
Diego Imbert
2025-09-19 14:51:06 +02:00
parent 41604e6513
commit 5d3f3c1999
4 changed files with 6 additions and 3 deletions
@@ -183,6 +183,7 @@
disabled={disabled || !value?.kind}
placeholder="Select resource"
selectFirst={true}
cl
/>
</div>
@@ -203,6 +204,7 @@
clearable={false}
noItemsMsg={'No models available'}
bind:filterText
inputClass="min-h-10"
/>
</div>
</div>
+1 -1
View File
@@ -64,7 +64,7 @@
}
onFocus={() => dispatch('focus')}
onBlur={() => dispatch('blur')}
class={selectClass}
inputClass={selectClass}
/>
</div>
</div>
+1 -1
View File
@@ -1225,7 +1225,7 @@
dispatch('blur')
}}
enumLabels={extra['enumLabels']}
selectClass="!h-10"
selectClass="min-h-10"
/>
</div>
{:else if inputCat == 'date'}
@@ -176,7 +176,7 @@
}}
/>
<!-- {JSON.stringify({ value, collection })} -->
<div class="flex flex-col w-full items-start min-h-9">
<div class="flex flex-col w-full items-start min-h-10">
<div class="flex flex-row w-full items-center">
{#if collection?.length > 0}
<Select
@@ -198,6 +198,7 @@
items={collection}
clearable
class="text-clip grow min-w-0"
inputClass="min-h-10"
placeholder={placeholder ?? `${resourceType ?? 'any'} resource`}
/>
{:else if !loading}