From 6935b2180807e5d66cef5d5d71a54b709dc370ad Mon Sep 17 00:00:00 2001 From: chenos Date: Thu, 22 Dec 2022 21:59:02 +0800 Subject: [PATCH] fix: type string --- packages/core/client/src/collection-manager/demos/demo5.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/client/src/collection-manager/demos/demo5.tsx b/packages/core/client/src/collection-manager/demos/demo5.tsx index bffea21a4..64b69ab10 100644 --- a/packages/core/client/src/collection-manager/demos/demo5.tsx +++ b/packages/core/client/src/collection-manager/demos/demo5.tsx @@ -78,6 +78,7 @@ const FormItemInitializer = (props) => { form.setValuesIn(name, uid()); insert({ name, + type: 'string', 'x-component': 'CollectionField', 'x-collection-field': `posts.${name}`, 'x-component-props': {},