diff --git a/src/addon/mod/data/fields/textarea/providers/handler.ts b/src/addon/mod/data/fields/textarea/providers/handler.ts index 1c1a0bc0d..28ad00b9a 100644 --- a/src/addon/mod/data/fields/textarea/providers/handler.ts +++ b/src/addon/mod/data/fields/textarea/providers/handler.ts @@ -103,11 +103,9 @@ export class AddonModDataFieldTextareaHandler extends AddonModDataFieldTextHandl return this.translate.instant('addon.mod_data.errormustsupplyvalue'); } - const found = inputData.some((input) => { - return !input.subfield && this.textUtils.htmlIsBlank(input.value); - }); + const value = inputData.find((value) => value.subfield == ''); - if (!found) { + if (!value || this.textUtils.htmlIsBlank(value.value)) { return this.translate.instant('addon.mod_data.errormustsupplyvalue'); } } diff --git a/src/addon/mod/data/pages/entry/entry.html b/src/addon/mod/data/pages/entry/entry.html index ebbc2e2fa..4bc24c4a6 100644 --- a/src/addon/mod/data/pages/entry/entry.html +++ b/src/addon/mod/data/pages/entry/entry.html @@ -31,7 +31,7 @@ - + diff --git a/src/addon/mod/workshop/components/assessment-strategy/addon-mod-workshop-assessment-strategy.html b/src/addon/mod/workshop/components/assessment-strategy/addon-mod-workshop-assessment-strategy.html index 1ae7628aa..e74d57ded 100644 --- a/src/addon/mod/workshop/components/assessment-strategy/addon-mod-workshop-assessment-strategy.html +++ b/src/addon/mod/workshop/components/assessment-strategy/addon-mod-workshop-assessment-strategy.html @@ -10,7 +10,7 @@ {{ 'addon.mod_workshop.assessmentstrategynotsupported' | translate:{$a: strategy} }} - +

{{ 'addon.mod_workshop.overallfeedback' | translate }}

diff --git a/src/addon/mod/workshop/components/submission/addon-mod-workshop-submission.html b/src/addon/mod/workshop/components/submission/addon-mod-workshop-submission.html index 180f298c8..7a3cf4d86 100644 --- a/src/addon/mod/workshop/components/submission/addon-mod-workshop-submission.html +++ b/src/addon/mod/workshop/components/submission/addon-mod-workshop-submission.html @@ -32,7 +32,7 @@
- +

{{ 'addon.mod_workshop.feedbackby' | translate : {$a: evaluateByProfile.fullname} }}

diff --git a/src/addon/mod/workshop/pages/submission/submission.html b/src/addon/mod/workshop/pages/submission/submission.html index 7a77c3f44..70fdbb714 100644 --- a/src/addon/mod/workshop/pages/submission/submission.html +++ b/src/addon/mod/workshop/pages/submission/submission.html @@ -2,7 +2,7 @@ -