fix: filter form block failed to connect templat block (#3457)
This commit is contained in:
parent
dad6072abb
commit
a52816cc86
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user