* Deselect the given value. * @param value The value to deselect
(value: T)
| 538 | * @param value The value to deselect |
| 539 | */ |
| 540 | deselectValue(value: T) { |
| 541 | if (this._invalid) { |
| 542 | this.selectionModel.clear(false); |
| 543 | } |
| 544 | this.selectionModel.deselect(value); |
| 545 | } |
| 546 | |
| 547 | /** |
| 548 | * Set the selected state of all options. |