Browse Source

fix(gui-v2): exclude col.cdf case

pull/3355/head
Wing-Kam Wong 2 years ago
parent
commit
c0ef19f426
  1. 2
      packages/nc-gui-v2/components/smartsheet/Form.vue

2
packages/nc-gui-v2/components/smartsheet/Form.vue

@ -215,7 +215,7 @@ async function addAllColumns() {
}
function shouldSkipColumn(col: Record<string, any>) {
return isDbRequired(col) || !!col.required || !!col.rqd
return isDbRequired(col) || !!col.required || (!!col.rqd && !col.cdf)
}
async function removeAllColumns() {

Loading…
Cancel
Save