Conversation
Added an option to use an alternative value in the underlying input for min and max.
|
Hello, thanks for this PR. Could you create a small demo with feature here: http://jsfiddle.net/IonDen/726L0aj5/ Just replace external ion.rangeSlider.js to yours. |
|
Hi, i've updated the fiddle. I've never used js fiddle before, and I didn't see the 'fork' button untill i was almost done. I hope i didn't ruin your fiddle. If you have any remaining questions, feel free to ask them :) |
|
Your forgot to post here a link to updated fiddle) |
|
Hey, but on this fiddle you didn't replace original ion.rangeSlider.js to your new one. So i can't test your changes. |
|
Yeah, i already spotted that and deleted my original comment.... Sorry... This one works: http://jsfiddle.net/726L0aj5/3/ |
|
Great work, I was just about to add this feature myself |
Added an option to use an alternative value in the underlying input for minimum and maximum.
This is useful for people who are using Solr. Solr specifies ranges in the following format:
However if you don't want to have an upper bound in your query, you'll have to use the following in your query to Solr:
By using the alt max feature, you have the option to let the user filter on ranges of prices, but if they drag the slider all the way to the right, there will be no upper bound. You'll probably want to use this together with the max postfix option.
I think the the alternative minimum feature is a lot less useful, but I've included it for completeness sake.