@ghentcdh/crouton-api 0.0.1-alpha.74 → 0.0.1-alpha.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -2383,7 +2383,7 @@ var buildViewsWithSource = /* @__PURE__ */ __name((source, columns, layout) => {
2383
2383
  views.table = emptyTableView();
2384
2384
  }
2385
2385
  const formUiBuilder = layout?.form ? (cols) => buildFormUiSchemaFromLayout(layout.form, cols) : buildFormUiSchema;
2386
- const form = buildView(source, columns, (c) => !c.hiddenInForm, formUiBuilder, true, (c) => !c.idField && (c.createable === true || c.updateable === true));
2386
+ const form = buildView(source, columns, (c) => !c.hiddenInForm, formUiBuilder, true, (c) => !c.idField && !c.hiddenInForm && (c.createable === true || c.updateable === true));
2387
2387
  if (form) {
2388
2388
  applyRequiredColumns(form.json_schema, columns);
2389
2389
  views.form = form;