From c41787e7c86c135c3de3743a9578aa01ba99c817 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Tue, 24 Oct 2023 10:37:24 +0400 Subject: [PATCH] Vue3: Fix onAfterRenderQuestion and onAfterRenderQuestionInput are fired with null html element (#7216) * Work for #7173: fix ref is not passed for some questions in Vue 3 * Work for #7173: fix onAfterRenderQuestion is not fired when quesiton is lazy rendered --- packages/survey-vue3-ui/src/BooleanSwitch.vue | 1 + packages/survey-vue3-ui/src/Checkbox.vue | 4 +- .../survey-vue3-ui/src/DropdownSelect.vue | 2 +- packages/survey-vue3-ui/src/Element.vue | 15 ++++- packages/survey-vue3-ui/src/File.vue | 2 +- src/vue/element.vue | 22 ++++++-- testCafe/survey/afterRenderEvent.ts | 56 +++++++++++++++++++ 7 files changed, 91 insertions(+), 11 deletions(-) create mode 100644 testCafe/survey/afterRenderEvent.ts diff --git a/packages/survey-vue3-ui/src/BooleanSwitch.vue b/packages/survey-vue3-ui/src/BooleanSwitch.vue index d34046cf2f..d04b6325c4 100644 --- a/packages/survey-vue3-ui/src/BooleanSwitch.vue +++ b/packages/survey-vue3-ui/src/BooleanSwitch.vue @@ -1,6 +1,7 @@