diff --git a/src/svelte-components/src/components/ConfigTemplatedInput.svelte b/src/svelte-components/src/components/ConfigTemplatedInput.svelte index 1d5fa4a..ed31d07 100644 --- a/src/svelte-components/src/components/ConfigTemplatedInput.svelte +++ b/src/svelte-components/src/components/ConfigTemplatedInput.svelte @@ -69,6 +69,11 @@ return value; } + function onKeyup(event) { + value = event.target.value; + onChange(); + } + function onChange() { Config.update((config) => { let target = config; @@ -108,6 +113,7 @@ step={template.step || "any"} bind:value on:input={onChange} + on:keyup={onKeyup} /> {:else if template.type === "int"} {:else if template.type === "string"} - + {:else if template.type == "text"} -