Browse Source

fix: MFE - custom link creation

pull/8367/head
Pranav C 5 months ago
parent
commit
9908e36ed9
  1. 5
      packages/nc-gui/components/smartsheet/details/Fields.vue

5
packages/nc-gui/components/smartsheet/details/Fields.vue

@ -514,7 +514,10 @@ const isColumnValid = (column: TableExplorerColumn) => {
return false
}
if ((column.uidt === UITypes.Links || column.uidt === UITypes.LinkToAnotherRecord) && isNew) {
if (!column.childColumn || !column.childTable || !column.childId) {
if (
(!column.childColumn || !column.childTable || !column.childId) &&
(!column.custom?.ref_model_id || !column.custom?.ref_column_id)
) {
return false
}
}

Loading…
Cancel
Save