Selects all chips with value.
(value: any, isUserInput: boolean = true)
| 281 | |
| 282 | /** Selects all chips with value. */ |
| 283 | _setSelectionByValue(value: any, isUserInput: boolean = true) { |
| 284 | this._clearSelection(); |
| 285 | |
| 286 | if (Array.isArray(value)) { |
| 287 | value.forEach(currentValue => this._selectValue(currentValue, isUserInput)); |
| 288 | } else { |
| 289 | this._selectValue(value, isUserInput); |
| 290 | } |
| 291 | } |
| 292 | |
| 293 | /** When blurred, marks the field as touched when focus moved outside the chip listbox. */ |
| 294 | _blur() { |
no test coverage detected