MOBILE-3814 lesson: Fix input inside a label
parent
112f00bcb5
commit
9f03a64a85
|
@ -75,12 +75,11 @@
|
||||||
|
|
||||||
<!-- Short answer. -->
|
<!-- Short answer. -->
|
||||||
<ion-item class="ion-text-wrap" *ngSwitchCase="'shortanswer'">
|
<ion-item class="ion-text-wrap" *ngSwitchCase="'shortanswer'">
|
||||||
<ion-label>
|
<ion-label class="sr-only" stacked></ion-label>
|
||||||
<ion-input [type]="question.input!.type" placeholder="{{ 'addon.mod_lesson.youranswer' | translate }}"
|
<ion-input [type]="question.input!.type" placeholder="{{ 'addon.mod_lesson.youranswer' | translate }}"
|
||||||
[id]="question.input!.id" [formControlName]="question.input!.name" autocorrect="off"
|
[id]="question.input!.id" [formControlName]="question.input!.name" autocorrect="off"
|
||||||
[maxlength]="question.input!.maxlength">
|
[maxlength]="question.input!.maxlength">
|
||||||
</ion-input>
|
</ion-input>
|
||||||
</ion-label>
|
|
||||||
</ion-item>
|
</ion-item>
|
||||||
|
|
||||||
<!-- Essay. -->
|
<!-- Essay. -->
|
||||||
|
|
Loading…
Reference in New Issue