MOBILE-3320 survey: Fix ngModel requires name error in console
parent
b974b6bf43
commit
e5b63b9dc2
|
@ -78,8 +78,10 @@
|
|||
</ng-container>
|
||||
|
||||
<!-- Subquestion -->
|
||||
<ng-container *ngIf="question.parent !== 0">
|
||||
<ion-radio-group [(ngModel)]="answers[question.name]" [required]="question.required" [name]="question.name">
|
||||
<ion-row *ngIf="question.parent !== 0" class="ion-align-items-center ion-padding-horizontal" [class.even]="isEven">
|
||||
<ion-row *ngIf="question.parent !== 0" class="ion-align-items-center ion-padding-horizontal"
|
||||
[class.even]="isEven">
|
||||
|
||||
<ion-col size="7">
|
||||
<ion-label id="addon-mod_survey-{{question.id}}">
|
||||
|
@ -110,6 +112,7 @@
|
|||
</ion-col>
|
||||
</ion-row>
|
||||
</ion-radio-group>
|
||||
</ng-container>
|
||||
|
||||
<!-- Single question (don't belong to a category) -->
|
||||
<ng-container *ngIf="(!question.multiArray || question.multiArray.length == 0) && question.parent === 0">
|
||||
|
|
Loading…
Reference in New Issue