When blurred, marks the field as touched when focus moved outside the chip listbox.
()
| 292 | |
| 293 | /** When blurred, marks the field as touched when focus moved outside the chip listbox. */ |
| 294 | _blur() { |
| 295 | if (!this.disabled) { |
| 296 | // Wait to see if focus moves to an individual chip. |
| 297 | setTimeout(() => { |
| 298 | if (!this.focused) { |
| 299 | this._markAsTouched(); |
| 300 | } |
| 301 | }); |
| 302 | } |
| 303 | } |
| 304 | |
| 305 | _keydown(event: KeyboardEvent) { |
| 306 | if (event.keyCode === TAB) { |
no test coverage detected