I'm struggling to implement validation and updating for an array of form fields within my parent form group. Can anyone provide insight on what I might be missing?
My goal is to add a new 'Vendor Line' with multiple form fields and validate each of them individually. Currently, only the outer field of the formGroup is being validated. I want to extend this validation to cover each formArray field as well. My project is built using the ng-zorro framework from Ant. Any help is greatly appreciated.
Below is the code snippet:
new-project.component.html
<!-- Code snippet here -->
new-project.component.ts
// TypeScript code here