ionic 5 formarray

Solutions on MaxInterview for ionic 5 formarray by the best coders in the world

showing results for - "ionic 5 formarray"
Frida
13 Jul 2016
1<div formArrayName="items"
2  *ngFor="let item of orderForm.get('items').controls; let i = index;">
3  <div [formGroupName]="i">
4    <input formControlName="name" placeholder="Item name">
5    <input formControlName="description" placeholder="Item description">
6    <input formControlName="price" placeholder="Item price">
7  </div>
8
9  Chosen name: {{ orderForm.controls.items.controls[i].controls.name.value }}
10</div>