mirror of
https://github.com/Fabio286/antares.git
synced 2025-02-17 04:00:48 +01:00
fix: table field changes not saved on text fields if pressing enter on textarea modal
This commit is contained in:
parent
debc1da289
commit
f6fb266771
@ -580,7 +580,7 @@ const onKey = (e: KeyboardEvent) => {
|
||||
if (!editingField.value && e.key === 'Enter')
|
||||
return editON(props.selectedCell);
|
||||
|
||||
if (editingField.value && e.key === 'Enter' && !isBaseSelectField.value)
|
||||
if (editingField.value && e.key === 'Enter' && !isBaseSelectField.value && !isTextareaEditor.value)
|
||||
return editOFF();
|
||||
|
||||
if (editingField.value && e.key === 'Escape') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user