diff --git a/src/addon/mod/quiz/pages/player/player.html b/src/addon/mod/quiz/pages/player/player.html index 62b15934f..9470bec15 100644 --- a/src/addon/mod/quiz/pages/player/player.html +++ b/src/addon/mod/quiz/pages/player/player.html @@ -135,8 +135,8 @@ - {{ 'core.openinbrowser' | translate }} + diff --git a/src/core/question/classes/base-question-component.ts b/src/core/question/classes/base-question-component.ts index c20654f32..c36375f8b 100644 --- a/src/core/question/classes/base-question-component.ts +++ b/src/core/question/classes/base-question-component.ts @@ -461,6 +461,11 @@ export class CoreQuestionBaseComponent { }, parent = element.parentElement; + if (option.value == '-1') { + // It's the clear choice option, ignore it. + continue; + } + this.question.optionsName = option.name; this.question.disabled = this.question.disabled && element.disabled;