in normal html we can do that:
<input name="xyz[]" value="Lorem" />
<input name="xyz[]" value="ipsum" />
<input name="xyz[]" value="dolor" />
<input name="xyz[]" value="sit" />
<input name="xyz[]" value="amet" />
and the result is array sent to the server.
how can i do that in angular 5 ?
it's not working the same way also not working in ngModel.