Hi, I'm encountering the following error while using the slider in the Release build, as well as in the Debug build when installed manually on an emulator or device.
'18' cannot be greater than 1.
I'm setting the MinimumValue value to 18 and MaximumValue value to 100 and binding both properties with ViewModel.
Complete code below,
<slider:RangeSlider TrackSize="6"
MinimumValue="18"
MaximumValue="100"
ThumbSize="40"
StepValue="1"
TrackColor="{DynamicResource Secondary}"
TrackBorderColor="{DynamicResource Secondary}"
TrackHighlightBorderColor="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource Gray500}}"
TrackHighlightColor="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource Gray500}}"
LowerValue="{Binding AgeFrom,Mode=TwoWay}"
UpperValue="{Binding AgeTo,Mode=TwoWay}"
ThumbColor="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource OffBlack}}"
ThumbBorderColor="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource OffBlack}}"/>
Please help.
Great control, by the way. I've been looking for something like this for a while. Thank you! 😊