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