This is a migrated thread and some comments may be shown as answers.

Unable to set id, name, css, etc on TelerikAutoComplete.

1 Answer 93 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 03 Feb 2020, 10:50 PM

As stated in the title, I am unable to set id, name, css, etc on TelerikAutoComplete control. For accessibility we need to set an id and link it with the label.

Any guidance for handling these scenarios?

Is there a standard I am missing for setting these values across all input type controls?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 04 Feb 2020, 09:00 AM

Hello Mattew,

We are working on exposing ID attributes. In the meantime, you can wrap the component in the label, like this:

<label>label text
   <TelerikAutoComplete />
</label>
A Class parameter is already available and it sets the desired CSS class to the wrapping element of the component.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
Tags
AutoComplete
Asked by
Matt
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or