Page 1 of 1

Making Autocomplete component accessible

Posted: 13 Jan 2019, 05:01
by bestuiexperience
Has anyone managed to make the auto complete component accessible via dom manipulation (i.e., using ElementRef and Renderer2) to search for the appropriate elements and set the corresponding attributes? If so, can you share how it was done?

Re: Making Autocomplete component accessible

Posted: 15 Jan 2019, 11:15
by yigitfindikli
Yes you can.

Component;

Code: Select all

...
@ViewChild('auto') auto;
...
html

Code: Select all

<p-autoComplete ... #auto  ....></p-autoComplete>