Last active
October 26, 2018 08:02
-
-
Save timmyBeef/142cdf4b1db0eace0181dc4beb3c0835 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div *ngFor="let item of qaList;let qIndex= index;trackBy:customQTrackBy"> | |
<div class="card"> | |
<div class="card-header bg-info text-white h5"> | |
Q{{(qIndex+1) + '. ' + item.question.questionContent}} | |
</div> | |
<div class="row input-group"> | |
<textarea class="form-control" rows=2 name="questions-{{qIndex}}" [(ngModel)]="item.question.questionContent" | |
#editQ="ngModel" required></textarea> | |
......... | |
...... | |
.... | |
<div *ngFor="let ans of item.answers;let aIndex= index;trackBy:customATrackBy"> | |
<div class="row"> | |
<div class="col-1"> | |
{{'A' + (aIndex + 1) + '. '}} | |
......... | |
...... | |
.... | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment