style(webui): don't display subdued input text in search header
This commit is contained in:
parent
8fda6fba65
commit
59895342f2
2 changed files with 3 additions and 1 deletions
|
@ -89,6 +89,7 @@
|
|||
on:input={onInput}
|
||||
bind:this={selector}
|
||||
emptyOptions={lastSearched}
|
||||
selectable={false}
|
||||
>
|
||||
<Icon name="search" slot="prefix" />
|
||||
</Selector>
|
||||
|
|
|
@ -108,6 +108,7 @@
|
|||
export let placeholder = '';
|
||||
export let disabled = false;
|
||||
export let keepFocusOnSet = false;
|
||||
export let selectable = true;
|
||||
export let forceShowOptions = false;
|
||||
|
||||
export let initial: SelectorValue | undefined = undefined;
|
||||
|
@ -471,7 +472,7 @@
|
|||
bind:value={inputValue}
|
||||
on:focusChange={(ev) => (inputFocused = ev.detail)}
|
||||
on:keydown={handleArrowKeys}
|
||||
klass={current !== undefined ? '' : 'selector-unset'}
|
||||
klass={current !== undefined || !selectable ? '' : 'selector-unset'}
|
||||
{disabled}
|
||||
{placeholder}
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue