Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • ٌ 29 posts 169 karma points
    5 days ago
    ٌ
    0

    Umbraco.slider Property type Tooltip format

    hi Everyone,

    I'm trying to use the Umbraco.slider property type, I've searched the internet for a documentation but I couldn't find any.so I'll ask here.

    I want to change the tooltip to show '$' sign instead of number For example :

    I want the slider to show $ instead of 1, $$ instead of 2, $$$ instead of 3 ... ext...

    I can't figure out what to write in the tooltip format option so if someone can help me that would be greate :)

    thanks.

  • Dave Woestenborghs 3112 posts 10095 karma points MVP 3x admin c-trib
    5 days ago
    Dave Woestenborghs
    100

    Hi,

    I don't think the scenario is possible.

    If you look at the description of the tooltip prevalue it says the following :

    The value wanted to be displayed in the tooltip. Use {0} and {1} for current values - {1} is only for range slider and if not using tooltip split.

    So what you can do is this use the following format :

    ${0}
    

    This will be changed in $1, $2, etc..

    Dave

  • ٌ 29 posts 169 karma points
    5 days ago
    ٌ
    0

    Hi Dave, thank you for the reply,

    so I can't write "if, else " in the tooltip format ?

    thanks

  • Dave Woestenborghs 3112 posts 10095 karma points MVP 3x admin c-trib
    5 days ago
    Dave Woestenborghs
    0

    Hi,

    No you can not. Unfortunatly.

    But what you can create a new feature request : https://github.com/umbraco/Umbraco-CMS/issues

    No garantuee that it will ever get's built. But it could start a discussion.

    Dave

Please Sign in or register to post replies

Write your reply to:

Draft