migrate: switch to svelte 5 events system for inputs

This commit is contained in:
James Xylight committed 2025-02-05 19:11:25 -08:00
1 parent 6f442eceab
commit 43a857ed66
11 files changed
+99 -98

No files matched your search

+2 -2
View File
@@ -60,13 +60,13 @@
{#if input}{@render input()}{:else}
<TextInput
bind:value={query}
on:input={(e) => {
oninput={(e) => {
searching = true
openMenu = true
dispatcher('input', e)
debounceFunc()
}}
on:focus={(e) => {
onfocus={(e) => {
searching = true
openMenu = true
dispatcher('input', e)