()
| 114 | } |
| 115 | |
| 116 | ngDoCheck() { |
| 117 | if (this.ngControl) { |
| 118 | // We need to re-evaluate this on every change detection cycle, because there are some |
| 119 | // error triggers that we can't subscribe to (e.g. parent form submissions). This means |
| 120 | // that whatever logic is in here has to be super lean or we risk destroying the performance. |
| 121 | this.updateErrorState(); |
| 122 | } |
| 123 | |
| 124 | this._rawValue.set(this._elementRef.nativeElement.value); |
| 125 | } |
| 126 | |
| 127 | /** Gets whether the input is empty. */ |
| 128 | isEmpty(): boolean { |
nothing calls this directly
no test coverage detected