From bb055f575cbb5187ef4a83c2fa4f5dec8e3a753f Mon Sep 17 00:00:00 2001 From: Katherine Date: Wed, 23 Oct 2024 16:31:32 +0800 Subject: [PATCH] feat: mobile client support filter form block (#5482) --- .../pages/dynamic-page/content/initializer.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/plugins/@nocobase/plugin-mobile/src/client/pages/dynamic-page/content/initializer.tsx b/packages/plugins/@nocobase/plugin-mobile/src/client/pages/dynamic-page/content/initializer.tsx index 48d93b2170..f08844765f 100644 --- a/packages/plugins/@nocobase/plugin-mobile/src/client/pages/dynamic-page/content/initializer.tsx +++ b/packages/plugins/@nocobase/plugin-mobile/src/client/pages/dynamic-page/content/initializer.tsx @@ -51,6 +51,18 @@ export const mobileAddBlockInitializer = new SchemaInitializer({ }, ], }, + { + name: 'filterBlocks', + title: '{{t("Desktop filter blocks")}}', + type: 'itemGroup', + children: [ + { + name: 'filterForm', + title: '{{t("Form")}}', + Component: 'FilterFormBlockInitializer', + }, + ], + }, { name: 'otherBlocks', type: 'itemGroup',