Associates an HTML input element with this chip grid.
(inputElement: MatChipTextControl)
| 301 | |
| 302 | /** Associates an HTML input element with this chip grid. */ |
| 303 | registerInput(inputElement: MatChipTextControl): void { |
| 304 | this._chipInput = inputElement; |
| 305 | this._chipInput.setDescribedByIds(this._ariaDescribedbyIds); |
| 306 | |
| 307 | // If ids were already attached to host element, can now remove in favor of chipInput |
| 308 | this._elementRef.nativeElement.removeAttribute('aria-describedby'); |
| 309 | } |
| 310 | |
| 311 | /** |
| 312 | * Implemented as part of MatFormFieldControl. |
nothing calls this directly
no test coverage detected