Dear all,
Hope you are doing well. I am facing one problem whicle creating one component in Angular 6 and ASP .Net MVC with Rest API.
I have a table structured form and in last column there a button add new.
If i click on that button then I am creating another row using ngFor.
"let item of itemsList ; let i = index; "> class ="container-fluid" style="padding: 0px;">- "text" matInput [formControl]="searchTerm" id="filter{{i}}"
- name="filter{{i}}" [(ngModel)]="product[i]" [matAutocomplete]="auto">
"matAutocomplete" >"let item of productlist" [value]="item.ItemName">- {{ item.ItemName }}
- >AddRow
Please let me know if anyone have an easy solution.
Thanking in advanced.
Regards.
Bidyasagar MishraPosted Aug 1, 2019, 4:06 AM