We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77064dc commit 4e5a353Copy full SHA for 4e5a353
src/components/List/List.svelte
@@ -81,15 +81,15 @@
81
class={wrapperClasses}
82
>
83
{#if showSearchBar}
84
- <Input
85
- type="search"
86
- placeholder={searchBarPlaceholder}
87
- onInput={search}
88
- >
89
- {#if showSearchBarIcon}
90
- {@html searchIcon}
91
- {/if}
92
- </Input>
+ {#if showSearchBarIcon}
+ <Input type="search" placeholder={searchBarPlaceholder} onInput={search}>
+ {@html searchIcon}
+ {/if}
+ </Input>
+ {:else}
+ <Input type="search" placeholder={searchBarPlaceholder} onInput={search} />
93
{/if}
94
<ul
95
class={classes}
0 commit comments