From 0ae9bfde6f115faaa5a65fc517f6e455245fabb2 Mon Sep 17 00:00:00 2001 From: Kevin Hahn Date: Mon, 13 Jan 2025 14:03:55 +0700 Subject: [PATCH] use a read only binding to avoid type conflicts --- packages/svelte-ux/src/lib/components/TextField.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/svelte-ux/src/lib/components/TextField.svelte b/packages/svelte-ux/src/lib/components/TextField.svelte index e9663dd6..a2a704c5 100644 --- a/packages/svelte-ux/src/lib/components/TextField.svelte +++ b/packages/svelte-ux/src/lib/components/TextField.svelte @@ -367,7 +367,7 @@ {max} {step} {actions} - bind:inputEl + bind:inputEl={null, (el) => (inputEl = el ?? null)} on:input={handleInput} on:focus on:blur