* Calls the touched callback only if the panel is closed. Otherwise, the trigger will * "blur" to the panel when it opens, causing a false positive.
()
| 1003 | * "blur" to the panel when it opens, causing a false positive. |
| 1004 | */ |
| 1005 | _onBlur() { |
| 1006 | this._focused = false; |
| 1007 | this._keyManager?.cancelTypeahead(); |
| 1008 | |
| 1009 | if (!this.disabled && !this.panelOpen) { |
| 1010 | this._onTouched(); |
| 1011 | this._changeDetectorRef.markForCheck(); |
| 1012 | this.stateChanges.next(); |
| 1013 | } |
| 1014 | } |
| 1015 | |
| 1016 | /** Whether the select has a value. */ |
| 1017 | get empty(): boolean { |
nothing calls this directly
no test coverage detected