*ngFor how to bind each item in array to ngModel using index

后端 未结 2 615
眼角桃花
眼角桃花 2020-12-29 04:11

===final updated==

http://plnkr.co/edit/WKRBB7?p=preview

since I use ngModel in a form, I must add name attribue.

and my mistake is that

2条回答
提交回复
热议问题