Browse Source

fix: allow only name update

pull/7304/head
Pranav C 12 months ago
parent
commit
e3442e87d2
  1. 9
      packages/nc-gui/components/smartsheet/column/EditOrAdd.vue

9
packages/nc-gui/components/smartsheet/column/EditOrAdd.vue

@ -79,7 +79,14 @@ const mounted = ref(false)
const columnToValidate = [UITypes.Email, UITypes.URL, UITypes.PhoneNumber]
const onlyNameUpdateOnEditColumns = [UITypes.LinkToAnotherRecord, UITypes.Lookup, UITypes.Rollup, UITypes.Links]
const onlyNameUpdateOnEditColumns = [
UITypes.LinkToAnotherRecord,
UITypes.Lookup,
UITypes.Rollup,
UITypes.Links,
UITypes.CreatedTime,
UITypes.LastModifiedTime,
]
// To close column type dropdown on escape and
// close modal only when the type popup is close

Loading…
Cancel
Save