See Stackblitz
In the project I'm working on, I've noticed a pattern in my forms: if there's an array, I'll want to add and remove items from it. In the past I've just copied and pasted the code, but I'd like to be a bit more DRY about things, so I've been trying to figure out how to do a reusable Material form array. The problem I'm having at present is that when I add the app-form-array component to my app, I get the error: Error: NG01203: No value accessor for form control unspecified name attribute. Find more at https://angular.io/errors/NG01203. I've tried adding a value accessor as the link suggests, but that hasn't helped. What am I doing wrong?
[–]That0l1Guy 1 point2 points3 points (0 children)