Range Slider Duplicate Numbers

Range Slider Duplicate Numbers

  

Hello, 

I am using the Range Slider for one of the pages on my mobile app, however, for some reason, I am getting some of the pip steps duplicated when previewing it, as you can see in the photo, I have also attached the settings for both the sliders.




Thank you,

Ori

According to the doc: https://success.outsystems.com/Documentation/SILK_UI_Framework/03_Building_UI_Through_Pattern_Composition/Using_Silk_UI_Patterns/RangeSlider_Pattern


PipsStep : Range interval after which a Pip is drawn (when ShowPips is enabled). If not specified, the component will try to guess what step fits your data.


Maybe the component is guessing incorrectly in this case, so maybe setup the pipsStep as well?

Lara Silva wrote:

According to the doc: https://success.outsystems.com/Documentation/SILK_UI_Framework/03_Building_UI_Through_Pattern_Composition/Using_Silk_UI_Patterns/RangeSlider_Pattern


PipsStep : Range interval after which a Pip is drawn (when ShowPips is enabled). If not specified, the component will try to guess what step fits your data.


Maybe the component is guessing incorrectly in this case, so maybe setup the pipsStep as well?

Hey Lara,

I have tried that but still the same issue. 



Hi Ori,

There is a bug on RangeSlider when it doesnt start in 1. If anyone on Outsystems can solve this plz. When you calculate the PipsValue instead of 

SyntaxEditor Code Snippet

Trunc((MaxValue ) / PipsStep)

It should be 

SyntaxEditor Code Snippet

Trunc((MaxValue - MinValue + 1) / PipsStep)

Regards,

Marcelo

Hi Ori,

If you really need to start with a number other than 1 use this for now

https://www.outsystems.com/forge/Component_Overview.aspx?ProjectId=3981

Till they fix the MobilePatterns.

I also already reported this bug with the case number #2069528

Regards,

Marcelo

Hi Ori, 

I was checking this better and looks like this was solved on version 1.6.1 of Silk UI Mobile. So you only need to install the latest version and everything will work.

Regards,

Marcelo