Answers for "loop through form controls angular"

2

loop through form controls angular

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

Object.keys(form.controls).forEach(key => {
      form.get(key).markAsDirty();
});
Posted by: Guest on November-16-2020

Code answers related to "loop through form controls angular"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language