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
  • 47,985
  • 13
  • 70
  • 91
Nere
  • 4,007
  • 4
  • 27
  • 65

0 Answers0