diff --git a/packages/core/client/src/schema-component/antd/form-item/FormItem.tsx b/packages/core/client/src/schema-component/antd/form-item/FormItem.tsx index 879d43ea8..b2feb720a 100644 --- a/packages/core/client/src/schema-component/antd/form-item/FormItem.tsx +++ b/packages/core/client/src/schema-component/antd/form-item/FormItem.tsx @@ -393,6 +393,10 @@ FormItem.Designer = (props) => { action: tk ? 'get' : null, }); + if (v === 'CollectionField') { + schema['type'] = 'string'; + } + insertAdjacent('beforeBegin', divWrap(schema), { onSuccess: () => { dn.remove(null, {