Forge Component
(61)
Published on 2 Oct (14 days ago) by OutSystems R&D
61 votes
Published on 2 Oct (14 days ago) by OutSystems R&D

Hi,


I want to use range slider interval pattern for months selection by displaying month names instead of numbers. Please suggest me , how can i customize the existing pattern.

Thanking in advance.


Ekadeep

I'm sure there's a way to customize the pattern to achieve that, but there's easier ways to achieve what you want.. One way you can achieve that is simply pass on to the widget the Month's numbers as the interval (1-12), have the ShowPips input set to False, so the numbers don't appear beneath the widget, and then you would set up the logic to show the selected month names yourself:

a couple of local variables to store the beginning and end of the interval, and in the on change event of the widget, just populate the variables, and then building yourself a subtitle for the slider with those variables, representing the numbers that are being selected.