diff --git a/packages/builder/src/builderStore/dataBinding.js b/packages/builder/src/builderStore/dataBinding.js index 880f245667..d6bd53ac3f 100644 --- a/packages/builder/src/builderStore/dataBinding.js +++ b/packages/builder/src/builderStore/dataBinding.js @@ -275,7 +275,7 @@ export const getSchemaForDatasource = (datasource, isForm = false) => { } // Add _id and _rev fields for certain types - if (schema && ["table", "link"].includes(datasource.type)) { + if (schema && !isForm && ["table", "link"].includes(datasource.type)) { schema["_id"] = { type: "string" } schema["_rev"] = { type: "string" } }