Skip to content

Commit 301bbd2

Browse files
committed
OnAnswer event now sends QuestionModel instead of the component
1 parent 3d715b9 commit 301bbd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/FlowForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@
582582
*/
583583
onQuestionAnswered(question) {
584584
if (question.isValid()) {
585-
this.$emit('answer', question)
585+
this.$emit('answer', question.question)
586586
587587
if (this.activeQuestionIndex < this.questionListActivePath.length) {
588588
++this.activeQuestionIndex

0 commit comments

Comments
 (0)