diff --git a/packages/nc-gui-v2/components/smartsheet/Form.vue b/packages/nc-gui-v2/components/smartsheet/Form.vue index 97618515ec..5e6a54b6be 100644 --- a/packages/nc-gui-v2/components/smartsheet/Form.vue +++ b/packages/nc-gui-v2/components/smartsheet/Form.vue @@ -201,6 +201,7 @@ function setFormData() { localColumns.value = col .filter((f: Record) => f.show && f.uidt !== UITypes.Rollup && f.uidt !== UITypes.Lookup) .sort((a: Record, b: Record) => a.order - b.order) + .map((c: Record) => ({ ...c, required: !!(c.required || 0) })) systemFieldsIds.value = getSystemColumns(col).map((c: Record) => c.fk_column_id)