addControlGroup method

  1. @override
void addControlGroup (NgControlGroup dir)
override

Add a group of controls to this form.

Implementation

@override
void addControlGroup(NgControlGroup dir) {
  var container = findContainer(dir.path);
  var group = createGroup(dir);
  container.addControl(dir.name, group);
  scheduleMicrotask(() {
    setUpControlGroup(group, dir);
    group.updateValueAndValidity(emitEvent: false);
  });
}