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

Placeholder encding icon

2 Answers 222 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
Alan Mosley
Top achievements
Rank 1
Alan Mosley asked on 08 Feb 2015, 07:23 AM
with an input tag I can use a fontawesome icon in the placeholder use the following " find your school"
but with autocomplete this does not show as an icon.
I assume there is some sort of encoding going on, how can I get around this? thanks

2 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 11 Feb 2015, 07:45 AM
Hi Alan,

Setting font icon placeholder via the AutoComplete properties is not supported. What I would suggest is to use the placeholder HTML attribute (example).

Regards,
Iliana Nikolova
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Alan Mosley
Top achievements
Rank 1
answered on 11 Feb 2015, 07:53 AM
Thanks, that was what I doing using the placeholder, but did not work in the MVC widgets, but I soleved it using Server.HtmlDecode("") & " find your school"
Tags
AutoComplete
Asked by
Alan Mosley
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Alan Mosley
Top achievements
Rank 1
Share this question
or