From 49f02ea608d76cc702bb38dfcdc55a6ea00447bb Mon Sep 17 00:00:00 2001 From: Dmitry Kuzin Date: Tue, 14 Nov 2023 13:33:01 +0400 Subject: [PATCH] Work for #7337: vue2: fix dropdown throws errors when setting data --- src/vue/components/dropdown/dropdown.vue | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/vue/components/dropdown/dropdown.vue b/src/vue/components/dropdown/dropdown.vue index 5d47aaabe6..38bff5d125 100644 --- a/src/vue/components/dropdown/dropdown.vue +++ b/src/vue/components/dropdown/dropdown.vue @@ -24,8 +24,8 @@
{{ model.inputStringRendered }} @@ -82,8 +82,8 @@ >
{{ question.readOnlyText }}
@@ -128,6 +128,14 @@ export class DropdownComponent extends BaseVue { this.model.inputStringRendered = event.target.value; } + public get showSelectedItemLocText() { + return this.question.showSelectedItemLocText; + } + + public get selectedItemLocText() { + return this.question.selectedItemLocText; + } + public click(event: any) { this.model?.onClick(event); }