From 432af865e0338a1bd2327a5f983452a09018c914 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Sat, 7 Dec 2024 07:37:12 +0000 Subject: [PATCH] fix(nc-gui): form view field label blank issue if label and column title is same --- packages/nc-gui/components/smartsheet/Form.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/Form.vue b/packages/nc-gui/components/smartsheet/Form.vue index 16d97e2edd..6ec3d2f149 100644 --- a/packages/nc-gui/components/smartsheet/Form.vue +++ b/packages/nc-gui/components/smartsheet/Form.vue @@ -682,11 +682,7 @@ onClickOutside(focusLabel, () => { const updateFieldTitle = (value: string) => { if (!activeField.value) return - if (activeField.value.title === value) { - activeField.value.label = null - } else { - activeField.value.label = value.trimStart() - } + activeField.value.label = value.trimStart() } const handleAutoScrollFormField = (title: string, isSidebar: boolean) => {