Angular2 ngModel inside of ngFor

前端 未结 3 1396
借酒劲吻你
借酒劲吻你 2020-12-09 05:49

I am trying to bind an array of strings from my inputs, so in the html file I wrote this:

3条回答
  •  攒了一身酷
    2020-12-09 06:26

    Solved this by using the @Input() function and passing the queries array + the query index number. Thank you guys for the support.

提交回复
热议问题