Pārlūkot izejas kodu

:pencil2: Removed entire question object from being displayed

tabs-content
tomit4 3 gadus atpakaļ
vecāks
revīzija
ef1fd22432

+ 1
- 1
frontend/src/components/onboarding/QuestionResponse.vue Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt