removeControl method
Remove a control from this form.
Implementation
@override
void removeControl(NgControl dir) {
scheduleMicrotask(() {
var container = findContainer(dir.path!);
if (container != null) {
container.removeControl(dir.name);
container.updateValueAndValidity(emitEvent: false);
changeDetectorRef.markForCheck();
}
});
}