Making Autocomplete component accessible
-
- Posts: 3
- Joined: 09 Jan 2019, 23:16
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?
-
- Posts: 449
- Joined: 08 Aug 2018, 14:09
Yes you can.
Component;
html
Component;
Code: Select all
...
@ViewChild('auto') auto;
...
Code: Select all
<p-autoComplete ... #auto ....></p-autoComplete>
-
- Information
-
Who is online
Users browsing this forum: No registered users and 8 guests