Skip to content

Commit 4f4ebb0

Browse files
committed
Dropdown Ok button fixed
1 parent 9cbb9f4 commit 4f4ebb0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/Question.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@
189189
const q = this.$refs.questionComponent
190190
191191
if (q) {
192+
if (this.question.type === QuestionType.Dropdown) {
193+
this.$emit('answer', q)
194+
return
195+
}
196+
192197
if (!q.focused) {
193198
this.$emit('answer', q)
194199
}

0 commit comments

Comments
 (0)