In template-driven forms, the ______ directive is used to group controls and aggregate their values and validation status.

  • FormGroupDirective
  • NgModelGroupDirective
  • FormControlDirective
  • FormsModuleDirective
In template-driven forms in Angular, the NgModelGroupDirective is used to group controls and aggregate their values and validation status. This directive allows you to manage the behavior and validation of a group of form controls within a form. The other options are not used for this purpose in template-driven forms.
Add your answer
Loading...

Leave a comment

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