diff --git a/packages/core/client/src/collection-manager/interfaces/m2m.tsx b/packages/core/client/src/collection-manager/interfaces/m2m.tsx index 2a6bb9a1e1..033806b2ff 100644 --- a/packages/core/client/src/collection-manager/interfaces/m2m.tsx +++ b/packages/core/client/src/collection-manager/interfaces/m2m.tsx @@ -389,7 +389,7 @@ export class M2MFieldInterface extends CollectionFieldInterface { 'x-component': 'Grid.Col', properties: { sourceKey: { - type: 'void', + type: 'string', title: '{{t("Source key")}}', 'x-decorator': 'FormItem', 'x-component': 'SourceKey', @@ -454,7 +454,7 @@ export class M2MFieldInterface extends CollectionFieldInterface { 'x-component': 'Grid.Col', properties: { targetKey: { - type: 'void', + type: 'string', title: '{{t("Target key")}}', 'x-decorator': 'FormItem', 'x-component': 'TargetKey', diff --git a/packages/core/client/src/collection-manager/interfaces/m2o.tsx b/packages/core/client/src/collection-manager/interfaces/m2o.tsx index 7ce50e2376..634fc328c4 100644 --- a/packages/core/client/src/collection-manager/interfaces/m2o.tsx +++ b/packages/core/client/src/collection-manager/interfaces/m2o.tsx @@ -319,7 +319,7 @@ export class M2OFieldInterface extends CollectionFieldInterface { 'x-component': 'Grid.Col', properties: { targetKey: { - type: 'void', + type: 'string', title: '{{t("Target key")}}', 'x-decorator': 'FormItem', 'x-component': 'TargetKey', diff --git a/packages/core/client/src/collection-manager/interfaces/o2m.tsx b/packages/core/client/src/collection-manager/interfaces/o2m.tsx index f8e7305df3..945ae4afc1 100644 --- a/packages/core/client/src/collection-manager/interfaces/o2m.tsx +++ b/packages/core/client/src/collection-manager/interfaces/o2m.tsx @@ -323,7 +323,7 @@ export class O2MFieldInterface extends CollectionFieldInterface { 'x-component': 'Grid.Col', properties: { sourceKey: { - type: 'void', + type: 'string', title: '{{t("Source key")}}', default: 'id', enum: [{ label: 'ID', value: 'id' }], @@ -366,7 +366,7 @@ export class O2MFieldInterface extends CollectionFieldInterface { 'x-component': 'Grid.Col', properties: { targetKey: { - type: 'void', + type: 'string', title: '{{t("Target key")}}', 'x-decorator': 'FormItem', 'x-component': 'TargetKey', diff --git a/packages/core/client/src/collection-manager/interfaces/o2o.tsx b/packages/core/client/src/collection-manager/interfaces/o2o.tsx index 0fe3ebd826..02c7ff142a 100644 --- a/packages/core/client/src/collection-manager/interfaces/o2o.tsx +++ b/packages/core/client/src/collection-manager/interfaces/o2o.tsx @@ -646,7 +646,7 @@ export class O2OFieldInterface extends CollectionFieldInterface { 'x-component': 'Grid.Col', properties: { sourceKey: { - type: 'void', + type: 'string', title: '{{t("Source key")}}', 'x-decorator': 'FormItem', 'x-component': 'SourceKey', @@ -825,7 +825,7 @@ export class OHOFieldInterface extends CollectionFieldInterface { 'x-component': 'Grid.Col', properties: { sourceKey: { - type: 'void', + type: 'string', title: '{{t("Source key")}}', 'x-decorator': 'FormItem', 'x-component': 'SourceKey', @@ -1018,7 +1018,7 @@ export class OBOFieldInterface extends CollectionFieldInterface { 'x-component': 'Grid.Col', properties: { targetKey: { - type: 'void', + type: 'string', title: '{{t("Target key")}}', 'x-decorator': 'FormItem', 'x-component': 'TargetKey',