Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

loop through form controls angular

let form = fb.group({
      data: ['']
})

Object.keys(form.controls).forEach(key => {
      form.get(key).markAsDirty();
});
 
PREVIOUS NEXT
Tagged: #loop #form #controls #angular
ADD COMMENT
Topic
Name
9+4 =