From 8581384bb886af0e1b60080f3e2be5594766f4c6 Mon Sep 17 00:00:00 2001 From: David Callizaya Date: Thu, 8 Aug 2024 10:53:36 -0400 Subject: [PATCH] Get _parent from data when not found --- src/components/screen-renderer.vue | 2 +- src/components/vue-form-renderer.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/screen-renderer.vue b/src/components/screen-renderer.vue index c308a0e6c..4a5c846b1 100644 --- a/src/components/screen-renderer.vue +++ b/src/components/screen-renderer.vue @@ -37,7 +37,7 @@ :is="component" ref="component" :vdata="value" - :_parent="_parent" + :_parent="_parent || value._parent" :_initial-page="currentPage" @after-submit="afterSubmit" @submit="submit" diff --git a/src/components/vue-form-renderer.vue b/src/components/vue-form-renderer.vue index d2777049d..ea6aed981 100644 --- a/src/components/vue-form-renderer.vue +++ b/src/components/vue-form-renderer.vue @@ -10,7 +10,7 @@