fix: add autofocus, close #319
This commit is contained in:
1 parent
3f0d3c9748
commit
bc62f2a794
1 file changed
+1
@@ -16,6 +16,7 @@
|
|||||||
bind:value={query}
|
bind:value={query}
|
||||||
class="w-full h-full {$$props.class}"
|
class="w-full h-full {$$props.class}"
|
||||||
placeholder="Search"
|
placeholder="Search"
|
||||||
|
autofocus
|
||||||
/>
|
/>
|
||||||
</form>
|
</form>
|
||||||
<slot {search} {loading} />
|
<slot {search} {loading} />
|
||||||
Reference in new issue
Block a user