MOBILE-3814 lesson: Fix input inside a label

main
Pau Ferrer Ocaña 2022-03-08 15:01:04 +01:00
parent 112f00bcb5
commit 9f03a64a85
1 changed files with 5 additions and 6 deletions

View File

@ -75,12 +75,11 @@
<!-- Short answer. -->
<ion-item class="ion-text-wrap" *ngSwitchCase="'shortanswer'">
<ion-label>
<ion-input [type]="question.input!.type" placeholder="{{ 'addon.mod_lesson.youranswer' | translate }}"
[id]="question.input!.id" [formControlName]="question.input!.name" autocorrect="off"
[maxlength]="question.input!.maxlength">
</ion-input>
</ion-label>
<ion-label class="sr-only" stacked></ion-label>
<ion-input [type]="question.input!.type" placeholder="{{ 'addon.mod_lesson.youranswer' | translate }}"
[id]="question.input!.id" [formControlName]="question.input!.name" autocorrect="off"
[maxlength]="question.input!.maxlength">
</ion-input>
</ion-item>
<!-- Essay. -->