From 42fcaa4a11db870c2747bdc47bea7dacabe182ce Mon Sep 17 00:00:00 2001
From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com>
Date: Thu, 28 Dec 2023 11:49:00 +0530
Subject: [PATCH] fix: text area exapnd on enter keypress in form
---
packages/nc-gui/components/cell/TextArea.vue | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/packages/nc-gui/components/cell/TextArea.vue b/packages/nc-gui/components/cell/TextArea.vue
index 0e62fbedd7..eb94769b73 100644
--- a/packages/nc-gui/components/cell/TextArea.vue
+++ b/packages/nc-gui/components/cell/TextArea.vue
@@ -192,6 +192,7 @@ watch(editEnabled, () => {
minHeight: `${height}px !important`,
}"
@dblclick="onExpand"
+ @keydown.enter="onExpand"
>
@@ -241,13 +242,8 @@ watch(editEnabled, () => {
{{ $t('title.expand') }}