From e40ed4e8cfa8bb5336364829b3d8a75a34c85c5d Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Mon, 25 Dec 2023 12:33:56 +0530 Subject: [PATCH] fix: disable input field after Enter key is pressed --- packages/nc-gui/components/smartsheet/expanded-form/Comments.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue b/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue index e91285dea0..641e2373fe 100644 --- a/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue +++ b/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue @@ -260,6 +260,7 @@ watch(commentInputDomRef, () => { placeholder="Start typing..." data-testid="expanded-form-comment-input" :bordered="false" + :disabled="isSaving" @keyup.enter.prevent="saveComment" >