()
| 286 | } |
| 287 | |
| 288 | ngDoCheck() { |
| 289 | if (this.ngControl) { |
| 290 | // We need to re-evaluate this on every change detection cycle, because there are some |
| 291 | // error triggers that we can't subscribe to (e.g. parent form submissions). This means |
| 292 | // that whatever logic is in here has to be super lean or we risk destroying the performance. |
| 293 | this.updateErrorState(); |
| 294 | } |
| 295 | } |
| 296 | |
| 297 | override ngOnDestroy() { |
| 298 | super.ngOnDestroy(); |
nothing calls this directly
no test coverage detected