From 80cee155766f8fdc08a302a7fb662db3274349c3 Mon Sep 17 00:00:00 2001 From: E44 <129310925+programmer-44@users.noreply.github.com> Date: Wed, 14 Jan 2026 19:06:38 +0100 Subject: [PATCH] fix(control): handle_enter wasn't connected to valid_state --- control/frontend/src/lib/components/TextInput.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/frontend/src/lib/components/TextInput.svelte b/control/frontend/src/lib/components/TextInput.svelte index 0e76e47..9b41874 100644 --- a/control/frontend/src/lib/components/TextInput.svelte +++ b/control/frontend/src/lib/components/TextInput.svelte @@ -61,7 +61,7 @@ } function handle_keydown(event: KeyboardEvent) { - if (event.key !== 'Enter') return; + if (event.key !== 'Enter' || !current_valid) return; if (enter_mode === 'focus_next') { event.preventDefault();