Skip to content

Commit

Permalink
Remove debounce from typeahead input field. We're also using a deboun…
Browse files Browse the repository at this point in the history
…ced store.
  • Loading branch information
myieye committed Apr 23, 2024
1 parent 341f226 commit 95d5b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/forms/UserTypeahead.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<FormField {id} {label} {error} {autofocus} >
<div use:overlay={{ closeClickSelector: '.menu li'}}>
<PlainInput style="w-full" debounce {id} bind:value type="text" autocomplete="off" />
<PlainInput style="w-full" {id} bind:value type="text" autocomplete="off" />
<div class="overlay-content">
<ul class="menu p-0">
{#each $typeaheadResults as user}
Expand Down

0 comments on commit 95d5b40

Please sign in to comment.