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

REGISTERED SIGN SuperScript in Combo

3 Answers 73 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Salim
Top achievements
Rank 1
Salim asked on 19 Apr 2017, 11:15 AM

I need to put a Registered Sign SuperScript in Combo. I managed to put a Registered Sign, but not in a superscript. It worked in the template, but when the user selects it, the html tags are displayed to the user as text in the input element.

The following link contains things that I tried:

http://dojo.telerik.com/eWAWO/2

 

3 Answers, 1 is accepted

Sort by
0
Joana
Telerik team
answered on 20 Apr 2017, 01:34 PM

Hello Salim,

This behavior is not related to the ComboBox widget but inserting HTML tags in an input element. You could see possible implementation here: 

http://stackoverflow.com/questions/17683654/superscript-in-input-field-of-text-type

For your convenience, I have updated your dojo sample with the solution provided in the link above and I have shown how it could be applied to the ComboBox. The approach is to implement superScript plugin which should transform the <sup> tags and call it in the change event of the ComboBox.:

 http://dojo.telerik.com/@jivanova/Odake

Let me know if you need further assistance.

Regards,
Joana
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Salim
Top achievements
Rank 1
answered on 21 Apr 2017, 05:12 AM

Hi Joana,

Thanks for your answer. But it doesn't work for the ® character. We need it only for this character. Please check your solution on the ® character below:

http://dojo.telerik.com/aLOvu

0
Joana
Telerik team
answered on 24 Apr 2017, 05:24 PM

Hello Salim,

Unfortunately, as I have said in my previous reply, this behavior has nothing to do with the ComboBox widget but the way the input elements behave. This seems like a limitation in the browser and does not seem to have a workaround.

Regards,
Joana
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
ComboBox
Asked by
Salim
Top achievements
Rank 1
Answers by
Joana
Telerik team
Salim
Top achievements
Rank 1
Share this question
or