These are chat archives for angular/material

12th
Oct 2017
pascalwilbrink
@pascalwilbrink
Oct 12 2017 19:42
https://plnkr.co/edit/xvdFVYj5oij1ofHq2oPI?p=preview
Can someone help me? The with form clears the mat-select when i add a new action
pascalwilbrink
@pascalwilbrink
Oct 12 2017 19:55
nevermind, i got it figured out. Looks like the ngModel binds to the name of the input. when i use *ngFor="let action of actions; let i = index" and <mat-select name="name-{{i}}" it works as expected