Answers for "ngfor in angular year list"

1

ngfor select angular

<select [(ngModel)]="passenger.Title">
    <option *ngFor="let title of titleArray" [value]="title.Value">
      {{title.Text}}
    </option>
</select>
Posted by: Guest on April-29-2020
11

ngfor

<li *ngFor="let item of items; index as i; trackBy: trackByFn">...</li>
Posted by: Guest on March-31-2020

Browse Popular Code Answers by Language