Browse Source

fix(nc-gui): form view field label blank issue if label and column title is same

pull/9958/head
Ramesh Mane 5 days ago
parent
commit
432af865e0
  1. 6
      packages/nc-gui/components/smartsheet/Form.vue

6
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) => {

Loading…
Cancel
Save