jQRangeSlider icon indicating copy to clipboard operation
jQRangeSlider copied to clipboard

Add support for boundless date values

Open EvHaus opened this issue 11 years ago • 1 comments

In some cases, I want a slider that controls the "end" value or the "start" value, but not both. For example:

  • A date range which starts from "any date" (ie. infinity in the past) but up to 2014-01-01, or
  • A date range which starts on 2014-01-01 but goes to "any date" (ie. infinity in the past)

The values would look like this:

defaultValues: {min: null, max: new Date(2014, 0, 1)}
defaultValues: {min: new Date(2014, 0, 1), max: null}

In which case the slider would be rendered with only one handle with the other being stuck on the edge of the side.

Bonus points for adding the ability to toggle this behavior between value ranges too. ie. Allow user to select a specific date value or a 'null' value all within the same instance of jQRangeSlider.

EvHaus avatar May 22 '14 17:05 EvHaus

jQRangeSlider does not have this feature, at the moment.

ghusse avatar May 23 '14 11:05 ghusse