Parcourir la source

:pencil2: Removed entire question object from being displayed

tags/0.0.3^2
tomit4 il y a 3 ans
Parent
révision
74e5457c9b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      frontend/src/components/onboarding/QuestionResponse.vue

+ 1
- 1
frontend/src/components/onboarding/QuestionResponse.vue Voir le fichier

1
 <template lang="pug">
1
 <template lang="pug">
2
 w-card.question
2
 w-card.question
3
-    p {{ question }}
4
     p {{ question.response_key_prompt }}
3
     p {{ question.response_key_prompt }}
5
     section.radio-buttons.w-flex.row.justify-space-between
4
     section.radio-buttons.w-flex.row.justify-space-between
6
         p(v-for='label in question.labels') {{ label }}
5
         p(v-for='label in question.labels') {{ label }}
11
     )
10
     )
12
     w-button.ma1.grow(
11
     w-button.ma1.grow(
13
         @click='handleSubmit'
12
         @click='handleSubmit'
13
+        @keyup.enter='handlSubmit'
14
         v-if='currentStep !== surveyStepsCount'
14
         v-if='currentStep !== surveyStepsCount'
15
     ) NEXT
15
     ) NEXT
16
     w-button.ma1.grow(@click='handleSubmit' v-else) SUBMIT ANSWERS
16
     w-button.ma1.grow(@click='handleSubmit' v-else) SUBMIT ANSWERS

Chargement…
Annuler
Enregistrer