1
2<form [formGroup]="form" (ngSubmit)="submit()">
3 <label for="orders">Order</label>
4 <select formControlName="orders" id="orders">
5 <option *ngFor="let order of orders; let i = index" [value]="orders[i].id">
6 {{orders[i].name}}
7 </option>
8 </select>
9
10 <button>submit</button>
11</form>
12
13