Skip to content

Commit ce6343c

Browse files
committed
Fix indentation
1 parent 5fa1931 commit ce6343c

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/components/QuestionTypes/MatrixType.vue

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
class="f-table-row"
2424
>
2525
<td class="f-table-cell f-row-cell">
26-
<span class="f-table-string">{{ row.label }}</span>
26+
<span class="f-table-string">{{ row.label }}</span>
2727
</td>
2828
<td
2929
v-for="(column, index) in question.columns"
@@ -58,8 +58,8 @@
5858
<input
5959
type="checkbox"
6060
v-bind:id="'c' + index + '-' + row.id"
61-
v-bind:value="column.value"
6261
v-bind:aria-label="row.label"
62+
v-bind:value="column.value"
6363
class="f-field-control f-checkbox-control"
6464
v-model="selected[row.id]"
6565
v-on:change="onChange"
@@ -83,13 +83,13 @@
8383

8484
<script>
8585
/*
86-
Copyright (c) 2020 - present, DITDOT Ltd. - MIT Licence
87-
https://github.com/ditdot-dev/vue-flow-form
88-
https://www.ditdot.hr/en
89-
*/
86+
Copyright (c) 2020 - present, DITDOT Ltd. - MIT Licence
87+
https://github.com/ditdot-dev/vue-flow-form
88+
https://www.ditdot.hr/en
89+
*/
9090
91-
import BaseType from "./BaseType.vue"
92-
import { QuestionType } from "../../models/QuestionModel"
91+
import BaseType from './BaseType.vue'
92+
import { QuestionType } from '../../models/QuestionModel'
9393
9494
export default {
9595
extends: BaseType,
@@ -104,9 +104,9 @@ export default {
104104
beforeMount() {
105105
// Pre-fill the form if there is a predefined answer
106106
if (this.question.multiple) {
107-
for (let row of this.question.rows) {
108-
this.selected[row.id] = this.question.answer && this.question.answer[row.id] ? [...this.question.answer[row.id]] : []
109-
}
107+
for (let row of this.question.rows) {
108+
this.selected[row.id] = this.question.answer && this.question.answer[row.id] ? [...this.question.answer[row.id]] : []
109+
}
110110
} else if (this.question.answer) {
111111
this.selected = {...this.question.answer}
112112
}
@@ -119,6 +119,6 @@ export default {
119119
this.onKeyDown()
120120
this.setAnswer(this.dataValue)
121121
}
122-
}
123-
}
122+
}
123+
}
124124
</script>

0 commit comments

Comments
 (0)