From d6b394488186e97d9a430df13560147786410096 Mon Sep 17 00:00:00 2001 From: YannisJustine Date: Sat, 1 Nov 2025 11:15:10 +0100 Subject: [PATCH] fix: Fix passthrough declarative syntax in subcomponent --- packages/core/src/basecomponent/BaseComponent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/basecomponent/BaseComponent.vue b/packages/core/src/basecomponent/BaseComponent.vue index 1b824c2ea7..829d4162b5 100644 --- a/packages/core/src/basecomponent/BaseComponent.vue +++ b/packages/core/src/basecomponent/BaseComponent.vue @@ -376,7 +376,7 @@ export default { }; }, $_attrsPT() { - return Object.entries(this.$attrs || {}) + return Object.entries((this.$parentInstance && this.$parentInstance != this) ? this.$parentInstance.$attrs || {} : this.$attrs || {}) .filter(([key]) => key?.startsWith('pt:')) .reduce((result, [key, value]) => { const [, ...rest] = key.split(':');