* @description * Removes the `NgModelGroup` directive instance from the form. * * @param dir The `NgModelGroup` directive instance.
(dir: NgModelGroup)
| 285 | * @param dir The `NgModelGroup` directive instance. |
| 286 | */ |
| 287 | removeFormGroup(dir: NgModelGroup): void { |
| 288 | resolvedPromise.then(() => { |
| 289 | const container = this._findContainer(dir.path); |
| 290 | container?.removeControl?.(dir.name); |
| 291 | }); |
| 292 | } |
| 293 | |
| 294 | /** |
| 295 | * @description |
nothing calls this directly
no test coverage detected