fix: data template issue in filter form (#5837)

This commit is contained in:
Katherine 2024-12-10 12:33:48 +08:00 committed by GitHub
parent b58a05764b
commit abf67b6fb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -200,6 +200,9 @@ export const findFormBlock = (schema: Schema) => {
if (schema['x-decorator'] === 'FormBlockProvider') {
return schema;
}
if (schema['x-component'] === 'AssociationField.Selector') {
return null;
}
schema = schema.parent;
}
return null;