how do i set min and max user can slide?
kamaroolkarim opened this issue · 3 comments
kamaroolkarim commented
i have this kind of use case where i need to show all available options to user. user with free plan can only slide to 1 day, meanwhile user with pro plan kat slide up to 1 week. i expected the drag will stop when free user try to slide higher. how do i achieve this? i have tried setting up max value, doesn't seem to be work.
NightCatSama commented
The dotOptions
can be set to limit the sliding range of a single slider. document
kamaroolkarim commented
@NightCatSama alright. let me test it first
kamaroolkarim commented
nice. it's working. thanks