From f66b0d5439b6c1561a084d52ba4dea40bbd828c6 Mon Sep 17 00:00:00 2001 From: Horu <73709188+HigherOrderLogic@users.noreply.github.com> Date: Sat, 14 Sep 2024 19:00:02 +1000 Subject: [PATCH] fix: synchronize Vue 2 & 3 component behaviour (#285) --- src/runtime/component.vue2.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/component.vue2.vue b/src/runtime/component.vue2.vue index b4ae8b0..e36f2f4 100644 --- a/src/runtime/component.vue2.vue +++ b/src/runtime/component.vue2.vue @@ -13,7 +13,7 @@ export default { }, render(createElement, { data, props, children, slots }) { // transform props for - if (slots.placeholder) { + if (!props.placeholder && slots.placeholder) { props = { placeholderTag: props.placeholderTag, }