Which method is used to add a new control to a FormGroup in reactive forms?

  • addControl()
  • createControl()
  • insertControl()
  • pushControl()
In reactive forms, you use the addControl() method to add a new control to a FormGroup. This method allows you to dynamically add form controls to a FormGroup, which can be useful when you need to create form controls based on user interactions or other dynamic criteria.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *