mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
inputSeach now updates on clear
This commit is contained in:
1 parent
212a7997c6
commit
e631891048
1 file changed
+2
-2
@@ -17,7 +17,7 @@
|
||||
}
|
||||
});
|
||||
|
||||
const onKeyUp = (event: KeyboardEvent) => {
|
||||
const onKeyUp = (event: FormEventHandler<HTMLInputElement>) => {
|
||||
clearTimeout(timer);
|
||||
timer = setTimeout(() => {
|
||||
const target = event.target as HTMLInputElement;
|
||||
@@ -32,5 +32,5 @@
|
||||
{required}
|
||||
type="search"
|
||||
class="input-text"
|
||||
on:keyup={onKeyUp}
|
||||
on:change={onKeyUp}
|
||||
bind:this={element} />
|
||||
Reference in new issue
Block a user