Skip to content

Commit b4350c7

Browse files
committed
Hide timer on questionnaire example
1 parent f5e3e1e commit b4350c7

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

examples/questionnaire/Example.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
v-bind:questions="questions"
2222
v-bind:language="language"
2323
v-bind:standalone="true"
24-
v-bind:timer="true"
2524
>
2625
<!-- Custom content for the Complete/Submit screen slots in the FlowForm component -->
2726
<!-- We've overriden the default "complete" slot content -->

examples/quiz/Example.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
score: 0,
9191
total: 8,
9292
time: 0,
93-
formattedTime: 0,
93+
formattedTime: '',
9494
answers: {
9595
html_1: ['2', '3'],
9696
html_2: 'false',

src/components/FlowForm.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,7 @@
566566
567567
incrementTime() {
568568
++this.time
569+
569570
this.$emit('timer', this.time, this.formatTime(this.time))
570571
},
571572

0 commit comments

Comments
 (0)