Skip to content

Commit fabd1f1

Browse files
committed
Fix getData
1 parent f0ccee8 commit fabd1f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/questionnaire/Example.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
required: true,
129129
options: [
130130
new ChoiceOption({
131-
label: 'Answer 1'
131+
label: ''
132132
}),
133133
new ChoiceOption({
134134
label: 'Answer 2'
@@ -282,7 +282,7 @@
282282
this.questions.forEach(question => {
283283
if (question.title) {
284284
let answer = question.answer
285-
if (typeof answer === 'object') {
285+
if (Array.isArray(answer)) {
286286
answer = answer.join(', ')
287287
}
288288

0 commit comments

Comments
 (0)