Skip to content

Commit 7e0444b

Browse files
committed
Quick code style fixes
1 parent 02f307d commit 7e0444b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/QuestionTypes/DropdownType.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@
4747
4848
export default {
4949
extends: BaseType,
50+
5051
name: QuestionType.Dropdown,
52+
5153
computed: {
5254
answerLabel() {
5355
for (let i = 0; i < this.question.options.length; i++) {
@@ -61,7 +63,8 @@
6163
return this.question.placeholder
6264
}
6365
},
64-
methods: {
66+
67+
methods: {
6568
onKeyDownListener($event) {
6669
if ($event.key === 'ArrowDown' || $event.key === 'ArrowUp') {
6770
this.setAnswer(this.dataValue)
@@ -70,6 +73,7 @@
7073
this.blur()
7174
}
7275
},
76+
7377
onKeyUpListener($event) {
7478
if ($event.key === 'Enter' && this.isValid() && !this.disabled) {
7579
$event.stopPropagation()

0 commit comments

Comments
 (0)