This reverts commit bed680cff8
.
PR Close #32088
This commit is contained in:
parent
9a37e827e2
commit
753080133b
|
@ -17,7 +17,7 @@ import {FormArray, FormControl, FormGroup} from '@angular/forms';
|
||||||
<form [formGroup]="form" (ngSubmit)="onSubmit()">
|
<form [formGroup]="form" (ngSubmit)="onSubmit()">
|
||||||
<div formArrayName="cities">
|
<div formArrayName="cities">
|
||||||
<div *ngFor="let city of cities.controls; index as i">
|
<div *ngFor="let city of cities.controls; index as i">
|
||||||
<input [formControlName]="i" placeholder="City">
|
<input formControlName="{{i}}" placeholder="City">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button>Submit</button>
|
<button>Submit</button>
|
||||||
|
|
Loading…
Reference in New Issue