mirror of
https://codeberg.org/PLG-Development/PLG-MuDiCS
synced 2026-07-05 16:37:09 +00:00
fix(control): handle_enter wasn't connected to valid_state
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user