I have a form in Angular 5 structured like so: There are a bunch of rows that each contain data about a single entity. These rows use template side form validation and have a submit handler that saves the entity.
All of these rows are wrapped in a larger form that represents the collection of entities that we care about.
Now, I want the user to be able to push one button that will submit all of the child forms for ease of use. I could just call all of the submit handlers from the parent, but this wouldn't trigger the template's form validation. Is there any way for the parent form to trigger the submission of all the child forms in the same way as if the user had pressed save on each row?
Thanks.