mirror of https://github.com/Fabio286/antares.git
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…
Reference in New Issue