File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 121121 title: ' Multiple choice question:' ,
122122 type: QuestionType .MultipleChoice ,
123123 multiple: false ,
124+ helpText: ' ' ,
124125 allowOther: true ,
125126 required: true ,
126127 options: [
Original file line number Diff line number Diff line change 2828 </span >
2929 </template >
3030
31- <span class =" f-sub" v-if =" question.subtitle || question.type === QuestionType.LongText || question.multiple " >
31+ <span class =" f-sub" v-if =" question.subtitle || question.type === QuestionType.LongText || question.type === QuestionType.MultipleChoice " >
3232 <span v-if =" question.subtitle" >{{ question.subtitle }}</span >
3333
3434 <span class =" f-help" v-if =" question.type === QuestionType.LongText && !isMobile" >{{ question.helpText || language.longTextHelpText }}</span >
3535
36- <span class =" f-help" v-if =" question.multiple" >{{ question.helpText || language.multipleChoiceHelpText }}</span >
36+ <span class =" f-help" v-if =" question.type === QuestionType.MultipleChoice && question.multiple" >{{ question.helpText || language.multipleChoiceHelpText }}</span >
37+ <span class =" f-help" v-else-if =" question.type === QuestionType.MultipleChoice" >{{ question.helpText || language.multipleChoiceHelpTextSingle }}</span >
3738 </span >
3839
3940 <div v-if =" !question.inline" class =" f-answer full-width" >
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ export default class LanguageModel {
1212 this . continue = 'Continue'
1313 this . pressEnter = 'Press ENTER'
1414 this . multipleChoiceHelpText = 'Choose as many as you like'
15+ this . multipleChoiceHelpTextSingle = 'Choose only one answer'
1516 this . otherPrompt = 'Other'
1617 this . placeholder = 'Type your answer here...'
1718 this . submitText = 'Submit'
You can’t perform that action at this time.
0 commit comments