Skip to content

Commit 1f88581

Browse files
committed
Merge branch 'feature/opinion-scale-question' of https://github.com/ditdot-dev/vue-flow-form into feature/opinion-scale-question
2 parents b2fa454 + 273ad5d commit 1f88581

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

examples/questionnaire/Example.vue

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
title: 'Tell us what is your favorite social network hangout.',
112112
helpTextShow: false,
113113
type: QuestionType.MultiplePictureChoice,
114-
multiple: false,
114+
multiple: true,
115115
required: true,
116116
options: [
117117
new ChoiceOption({
@@ -150,6 +150,24 @@
150150
required: true,
151151
placeholder: 'Start typing here...'
152152
}),
153+
new QuestionModel({
154+
id: 'icon_rate',
155+
tagline: "Thanks for that. Now, let's give it some ⭐ rating",
156+
title: 'How good was the last movie you watched?',
157+
type: QuestionType.IconRate,
158+
required: true,
159+
max: 5
160+
}),
161+
new QuestionModel({
162+
id: 'opinion_scale',
163+
title: 'Choose a number to express your opinion 👇',
164+
subtitle: 'You can also use ⌨️ numbers to select an option',
165+
type: QuestionType.OpinionScale,
166+
required: true,
167+
max: 8,
168+
labelLeft: 'Dissapointing',
169+
labelRight: 'Well-crafted work of art'
170+
}),
153171
new QuestionModel({
154172
id: 'multiple_choice',
155173
tagline: 'FYI, You can always go back 👈, use the up arrow on the bottom.',
@@ -193,6 +211,7 @@
193211
})
194212
]
195213
}),
214+
196215
new QuestionModel({
197216
id: 'break_1',
198217
title: 'Awesome, thank you. 🙏',

0 commit comments

Comments
 (0)