diff --git a/src/common-components/button-question/button-question.vue b/src/common-components/button-question/button-question.vue index 5fe1aa6e4..2fece851c 100644 --- a/src/common-components/button-question/button-question.vue +++ b/src/common-components/button-question/button-question.vue @@ -84,8 +84,8 @@
@@ -148,6 +148,11 @@ export default { default: true, }, }, + data() { + return { + primaryValue: "" + } + }, computed: { getFieldSetClasses() { if (this.isOverflowScrollable) { @@ -260,12 +265,13 @@ export default { // } // this.$emit("isCheckedChanged", val); // }, - handleAnswerChange(eventValue) { + handleAnswerChange(primaryAnswerValue) { console.log({ - bqEvent: eventValue + bqEvent: primaryAnswerValue }) - this.$emit("change", eventValue); - this.$emit("update:modelValue", eventValue); + this.primaryValue = primaryAnswerValue; + this.$emit("change", primaryAnswerValue); + this.$emit("update:modelValue", primaryAnswerValue); }, }, components: { diff --git a/src/common-components/question-chain/question-chain.vue b/src/common-components/question-chain/question-chain.vue index be0a7bbd5..5e9ebd97c 100644 --- a/src/common-components/question-chain/question-chain.vue +++ b/src/common-components/question-chain/question-chain.vue @@ -1,7 +1,5 @@