Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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.
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
Hi Dave, thank you for the reply,
so I can't write "if, else " in the tooltip format ?
thanks
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.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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.
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 :
This will be changed in $1, $2, etc..
Dave
Hi Dave, thank you for the reply,
so I can't write "if, else " in the tooltip format ?
thanks
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
is working on a reply...