From 94c3b263e7430536e5f90dc237f51c848392f96e Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Tue, 12 Jul 2022 21:48:14 +0530 Subject: [PATCH] test/cypress: percent column validation Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- .../components/editableCell/PercentCell.vue | 105 ++++++++++-------- .../integration/common/3f_percent_column.js | 31 +++--- 2 files changed, 77 insertions(+), 59 deletions(-) diff --git a/packages/nc-gui/components/project/spreadsheet/components/editableCell/PercentCell.vue b/packages/nc-gui/components/project/spreadsheet/components/editableCell/PercentCell.vue index d19d4dc8b7..9b07083839 100644 --- a/packages/nc-gui/components/project/spreadsheet/components/editableCell/PercentCell.vue +++ b/packages/nc-gui/components/project/spreadsheet/components/editableCell/PercentCell.vue @@ -6,9 +6,9 @@ type="number" @blur="onBlur" @keypress="checkPercentFormat($event)" - @keydown.enter="isEdited && $emit('input', percent)" + @keydown.enter="onBlur" v-on="parentListeners" - /> + >