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