diff --git a/packages/core/client/src/schema-initializer/items/FilterFormBlockInitializer.tsx b/packages/core/client/src/schema-initializer/items/FilterFormBlockInitializer.tsx index 0edcd1a27..e48303b1c 100644 --- a/packages/core/client/src/schema-initializer/items/FilterFormBlockInitializer.tsx +++ b/packages/core/client/src/schema-initializer/items/FilterFormBlockInitializer.tsx @@ -15,7 +15,7 @@ export const FilterFormBlockInitializer = ({ filterItems }) => { templateWrap={(templateSchema, { item }) => { const s = createFilterFormBlockSchema({ template: templateSchema, - collection: item.collectionName, + collection: item.name || item.collectionName, }); if (item.template && item.mode === 'reference') { s['x-template-key'] = item.template.key;