loop through form controls angular

Solutions on MaxInterview for loop through form controls angular by the best coders in the world

showing results for - "loop through form controls angular"
Andrés
16 Jun 2019
1let form = fb.group({
2      data: ['']
3})
4
5Object.keys(form.controls).forEach(key => {
6      form.get(key).markAsDirty();
7});