-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Du coup j'ai trouvé cette solution :
<input
type="button"
(click)="onClickAdd()"
class="form-control"
value="new input"
>
<ul class="list-group">
<li *ngFor="let mat of form.get('mat')['controls'], index as i" class="list-group-item">
<input
type="text"
name="mat"
id="mat"
[formControl]="form.get('mat')['controls'][i]"
>
</li>
</ul>
réf : Reactive form
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels