Skip to main content

Search and Top Navigation

#4726 closed enhancement (wontfix)

Opened July 28, 2009 01:47PM UTC

Closed November 13, 2009 07:14PM UTC

Last modified October 11, 2012 09:15PM UTC

Minimum range for sliders

Reported by: gwk Owned by:
Priority: minor Milestone:
Component: ui.slider Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

I have a use case where the handles in a range slider aren't allowed to have the same value, basically instead of stopping the handle from moving past the other handle it should be possible to stop the handle when still a certain distance away.

Attached is a patch with an extra option 'minRange' where you can specify the minimum amount of steps the handles be seperated.

Attachments (1)
Change History (2)

Changed November 13, 2009 07:14PM UTC by scottgonzalez comment:1

resolution: → wontfix
status: newclosed

If we add a min range option, we have to add a max range option. We would also need to figure out how this works with three handles, four handles, ten handes, etc. The possible options are way to large for us to build into the plugin.

This can be easily implemented using the slide callback and returning false if the range would become too small.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted