RangeSliderInterval label Text

RangeSliderInterval label Text

  

Hello all,

I'm making a mobile app and need to use a RangeSliderInterval widget for choosing an interval between to months. I already implemented that but I need show the month's name instead of numbers.


This is what I put in slider properties. 


I was trying to change that in Advanced Format with this code but doesn't work


"{var slider = {1:'Jan', 2:'Fev', 3:'Mar', 4:'Abr', 5:'Mai', 6:'Jun', 7:'Jul', 8:'Ago', 9:'Set',10:'Out', 11:'Nov', 12:'Dez'}    

pips: {

        mode: 'steps',

        step: 1,

         connect: true,

         format: { 

           to: function(a){

                return slider[a];

            }

        }

    }

}"


Can you guys please tell me how I do this or what I'm doing bad.

Thanks,



Hi Hugo,


Verify please if this can be useful for you: https://www.outsystems.com/forge/4346/

It's a forge component (Range slider) that have labels.


Hope this can help you!


Cheers,

Ricardo

Ricardo Pereira wrote:

Hi Hugo,


Verify please if this can be useful for you: https://www.outsystems.com/forge/4346/

It's a forge component (Range slider) that have labels.


Hope this can help you!


Cheers,

Ricardo

Hi Ricardo

Thanks for the help.

I'm looking at that component and do what I need but I don't know how to replicate that in mobile.

Thanks,