REGISTERED SIGN SuperScript in Combo

4 posts, 0 answers
  1. Salim
    Salim avatar
    61 posts
    Member since:
    Jun 2016

    Posted 19 Apr Link to this post

    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

     

  2. Joana
    Admin
    Joana avatar
    126 posts

    Posted 20 Apr Link to this post

    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.
  3. Salim
    Salim avatar
    61 posts
    Member since:
    Jun 2016

    Posted 21 Apr in reply to Joana Link to this post

    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

  4. Joana
    Admin
    Joana avatar
    126 posts

    Posted 24 Apr Link to this post

    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.
Back to Top