From 829adcfc4e1a56b914ece84a45f09dff1891969e Mon Sep 17 00:00:00 2001 From: wjh Date: Thu, 5 Sep 2024 14:07:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=B3=E8=81=94=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=97=A0=E6=B3=95=E4=BD=BF=E7=94=A8=E5=BC=95?= =?UTF-8?q?=E7=94=A8=E6=A8=A1=E7=89=88=20(#1510)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-on: https://git.daoyoucloud.com/daoyoucloud/tachybase/pulls/1510 Reviewed-by: sealday Co-authored-by: wjh Co-committed-by: wjh --- .../src/modules/blocks/data-blocks/form/FormBlockInitializer.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/client/src/modules/blocks/data-blocks/form/FormBlockInitializer.tsx b/packages/core/client/src/modules/blocks/data-blocks/form/FormBlockInitializer.tsx index c71f8352d..be9e59346 100644 --- a/packages/core/client/src/modules/blocks/data-blocks/form/FormBlockInitializer.tsx +++ b/packages/core/client/src/modules/blocks/data-blocks/form/FormBlockInitializer.tsx @@ -128,6 +128,7 @@ export const useCreateFormBlock = () => { dataSource: item.dataSource, templateSchema: templateSchema, collectionName: item.name, + association, }); if (item.template && item.mode === 'reference') { schema['x-template-key'] = item.template.key;