removed autofocus in easylist

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-11-29 13:12:07 +01:00
parent 8f82ca87b4
commit d6b5d243c1

View File

@@ -11,7 +11,7 @@
let filter = $state(null);
let highlight = $state(null);
let search = $derived(filter ? filter.toLowerCase() : null);
let input;
//let input;
let tasks = $state(null);
let router = useTinyRouter();
let sorted = $derived(tasks ? Object.values(tasks).filter(noNoIndex).sort(byName) : null);
@@ -57,7 +57,7 @@
if (res.ok){
yikes();
tasks = await res.json();
input.focus();
//input.focus();
} else error(res);
}
@@ -166,6 +166,6 @@
</fieldset>
<div class="filter">
{t('filter')}: <input type="text" bind:value={filter} bind:this={input} />
{t('filter')}: <input type="text" bind:value={filter} /> <!-- bind:this={input} -->
</div>
</div>