diff --git a/packages/core/client/src/collection-manager/interfaces/m2m.tsx b/packages/core/client/src/collection-manager/interfaces/m2m.tsx index bdbd4569c0..8fd2b81a0a 100644 --- a/packages/core/client/src/collection-manager/interfaces/m2m.tsx +++ b/packages/core/client/src/collection-manager/interfaces/m2m.tsx @@ -409,7 +409,7 @@ export class M2MFieldInterface extends CollectionFieldInterfaceBase { description: "{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}", 'x-decorator': 'FormItem', - 'x-component': 'Input', + 'x-component': 'ForeignKey', 'x-validator': 'uid', 'x-disabled': '{{ !createOnly||override }}', }, @@ -443,7 +443,7 @@ export class M2MFieldInterface extends CollectionFieldInterfaceBase { description: "{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}", 'x-decorator': 'FormItem', - 'x-component': 'Input', + 'x-component': 'ForeignKey', 'x-validator': 'uid', 'x-disabled': '{{ !createOnly||override }}', }, diff --git a/packages/core/client/src/collection-manager/interfaces/m2o.tsx b/packages/core/client/src/collection-manager/interfaces/m2o.tsx index cd71db3039..93fa7e5451 100644 --- a/packages/core/client/src/collection-manager/interfaces/m2o.tsx +++ b/packages/core/client/src/collection-manager/interfaces/m2o.tsx @@ -308,7 +308,7 @@ export class M2OFieldInterface extends CollectionFieldInterfaceBase { description: "{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}", 'x-decorator': 'FormItem', - 'x-component': 'Input', + 'x-component': 'ForeignKey', 'x-validator': 'uid', 'x-disabled': '{{ !createOnly }}', }, diff --git a/packages/core/client/src/collection-manager/interfaces/o2m.tsx b/packages/core/client/src/collection-manager/interfaces/o2m.tsx index d4447b9024..67554f1dc5 100644 --- a/packages/core/client/src/collection-manager/interfaces/o2m.tsx +++ b/packages/core/client/src/collection-manager/interfaces/o2m.tsx @@ -344,7 +344,7 @@ export class O2MFieldInterface extends CollectionFieldInterfaceBase { description: "{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}", 'x-decorator': 'FormItem', - 'x-component': 'Input', + 'x-component': 'ForeignKey', 'x-validator': 'uid', 'x-disabled': '{{ !createOnly }}', }, diff --git a/packages/core/client/src/collection-manager/interfaces/o2o.tsx b/packages/core/client/src/collection-manager/interfaces/o2o.tsx index 3f424abc8e..38c6031d8a 100644 --- a/packages/core/client/src/collection-manager/interfaces/o2o.tsx +++ b/packages/core/client/src/collection-manager/interfaces/o2o.tsx @@ -665,7 +665,7 @@ export class O2OFieldInterface extends CollectionFieldInterfaceBase { description: "{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}", 'x-decorator': 'FormItem', - 'x-component': 'Input', + 'x-component': 'ForeignKey', 'x-validator': 'uid', 'x-disabled': '{{ !createOnly }}', }, @@ -844,7 +844,7 @@ export class OHOFieldInterface extends CollectionFieldInterfaceBase { description: "{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}", 'x-decorator': 'FormItem', - 'x-component': 'Input', + 'x-component': 'ForeignKey', 'x-validator': 'uid', 'x-disabled': '{{ !createOnly }}', }, @@ -1007,7 +1007,7 @@ export class OBOFieldInterface extends CollectionFieldInterfaceBase { description: "{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}", 'x-decorator': 'FormItem', - 'x-component': 'Input', + 'x-component': 'ForeignKey', 'x-validator': 'uid', 'x-disabled': '{{ !createOnly }}', },