* @description * Removes the `NgModel` instance from the internal list of directives * * @param dir The `NgModel` directive instance.
(dir: NgModel)
| 253 | * @param dir The `NgModel` directive instance. |
| 254 | */ |
| 255 | removeControl(dir: NgModel): void { |
| 256 | resolvedPromise.then(() => { |
| 257 | const container = this._findContainer(dir.path); |
| 258 | |
| 259 | container?.removeControl(dir.name); |
| 260 | |
| 261 | this._directives.delete(dir); |
| 262 | }); |
| 263 | } |
| 264 | |
| 265 | /** |
| 266 | * @description |
nothing calls this directly
no test coverage detected