diff --git a/app/src/components/v-field-template/v-field-template.vue b/app/src/components/v-field-template/v-field-template.vue index 59831f0d36..66f7edcc4d 100644 --- a/app/src/components/v-field-template/v-field-template.vue +++ b/app/src/components/v-field-template/v-field-template.vue @@ -277,7 +277,13 @@ export default defineComponent({ return `${part}`; } const fieldKey = part.replace(/({|})/g, '').trim(); - const field = findTree(treeList.value, fieldKey.split('.')); + const fieldPath = fieldKey.split('.'); + + for (let i = 0; i < fieldPath.length; i++) { + loadFieldRelations(fieldPath.slice(0, i).join('.')); + } + + const field = findTree(treeList.value, fieldPath); if (!field) return '';