()
| 99 | } |
| 100 | |
| 101 | ngOnDestroy() { |
| 102 | this._isSelected.unsubscribe(); |
| 103 | } |
| 104 | |
| 105 | /** Custom error state matcher that additionally checks for validity of interacted form. */ |
| 106 | isErrorState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean { |