ngfor select angular
<select [(ngModel)]="passenger.Title">
<option *ngFor="let title of titleArray" [value]="title.Value">
{{title.Text}}
</option>
</select>
ngfor select angular
<select [(ngModel)]="passenger.Title">
<option *ngFor="let title of titleArray" [value]="title.Value">
{{title.Text}}
</option>
</select>
drop down listing in angular form
<form [formGroup]="form" (ngSubmit)="submit()">
<label for="orders">Order</label>
<select formControlName="orders" id="orders">
<option *ngFor="let order of orders; let i = index" [value]="orders[i].id">
{{orders[i].name}}
</option>
</select>
<button>submit</button>
</form>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us