angular-rangeslider
angular-rangeslider copied to clipboard
Suggestion: Support snapping to values in a small array when the range of possible discrete values is limited
I have a collection of filters containing many ranges some of which are continuously variable and others of which are discrete and have a very limited number (5 - 10) of possible values. The continuously variable ranges are a natural fit for the range-slider. And the discrete ranges could also potentially be displayed using the range-slider. While the range-slider can indeed be used to display a small set of discrete values, the user-experience is not ideal because the (continuous) range-slider metaphor suggests to the user that all of the values including values between the discrete points are also valid. So I find that a more intuitive user experience is provided by showing the user a drop-down list of the discrete values. Nevertheless I think the range metaphor is quite helpful and intuitive when there are neither too few nor too many discrete values and when the user is typically wishing to select a range of them. But it is a much better experience for the user if the range snaps to a valid value. And it also provides feedback as to what that value is.