MOBILE-2469 multichoice: Don't select first option by default

This commit is contained in:
Dani Palou 2018-07-05 15:36:04 +02:00
parent 4f636824e3
commit e9ad24ca58

View File

@ -481,11 +481,6 @@ export class CoreQuestionBaseComponent {
return this.questionHelper.showComponentError(this.onAbort);
}
if (!this.question.multi && typeof this.question.singleChoiceModel == 'undefined') {
// We couldn't find the option to select, select the first one.
this.question.singleChoiceModel = options[0].value;
}
}
return questionDiv;