0

I've multiple input fields that use name="myInput[]". How I can use [(ngModel)] that can catch my myInputarrays?

<input name="myInput[]" [(ngModel)]="answer" value="abc" />
<input name="myInput[]" [(ngModel)]="answer" value="def" />

Does anyone experience these problems?

Thanks for sharing

georgeawg
  • 48,608
  • 13
  • 72
  • 95
Nere
  • 4,097
  • 5
  • 31
  • 71

0 Answers0