Bläddra i källkod

:pencil2: Removed entire question object from being displayed

tags/0.0.3^2
tomit4 3 år sedan
förälder
incheckning
74e5457c9b
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      frontend/src/components/onboarding/QuestionResponse.vue

+ 1
- 1
frontend/src/components/onboarding/QuestionResponse.vue Visa fil

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

Laddar…
Avbryt
Spara