We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f4ebb0 commit 78d190aCopy full SHA for 78d190a
src/components/Question.vue
@@ -189,11 +189,6 @@
189
const q = this.$refs.questionComponent
190
191
if (q) {
192
- if (this.question.type === QuestionType.Dropdown) {
193
- this.$emit('answer', q)
194
- return
195
- }
196
-
197
if (!q.focused) {
198
this.$emit('answer', q)
199
}
src/components/QuestionTypes/DropdownType.vue
@@ -64,7 +64,6 @@
64
methods: {
65
onKeyDownListener($event) {
66
if ($event.key === 'ArrowDown' || $event.key === 'ArrowUp') {
67
- this.focused = true
68
this.setAnswer(this.dataValue)
69
} else if ($event.key === 'Enter' && this.hasValue) {
70
this.focused = false
0 commit comments