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. 4
      packages/nc-gui/components/smartsheet/Form.vue

4
packages/nc-gui/components/smartsheet/Form.vue

@ -682,12 +682,8 @@ 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()
}
}
const handleAutoScrollFormField = (title: string, isSidebar: boolean) => {
const field = document.querySelector(

Loading…
Cancel
Save