jack-pallot / craft-range-slider-fieldtype

A range slider fieldtype for Craft CMS
3 stars 2 forks source link

Feature Request: ability to set both min & max values? #4

Closed johndwells closed 10 years ago

johndwells commented 10 years ago

Hi,

Would you consider making it possible for the content editor to set both a min & max value? I realise this would require moving away from the HTML5 range input and therefore you may not be interested, but I thought I'd ask before I going it myself (and coming up with a distinguishing name!).

Cheers, John

jack-pallot commented 10 years ago

Hi John,

If I've understood this right, you would like the ability to add min and max values outside of the field settings area? If so, I thought about it a while back, but couldn't think of a use for it. What might you see this being used for? I'll certainly consider it if I think it's worth adding.

Thanks,

johndwells commented 10 years ago

Hey Jack,

The particular use case I encountered was setting the appropriate age range for attendees of an workshop, e.g. "ages 12 - 18".

Note that this isn't something we need anymore, so do not take my FR as any sense of urgency - I nonetheless think it might be a handy plugin. Normally I'd have a go at building it myself but I'm out of free time these days! :)

Cheers, John

On 17 October 2014 15:58, Jack Pallot notifications@github.com wrote:

Hi John,

If I've understood this right, you would like the ability to add min and max values outside of the field settings area? If so, I thought about it a while back, but couldn't think of a use for it. What might you see this being used for? I'll certainly consider it if I think it's worth adding.

Thanks,

  • Jack.

— Reply to this email directly or view it on GitHub https://github.com/jack-pallot/craft-range-slider-fieldtype/issues/4#issuecomment-59575315 .

Pura Vida John D Wells http://www.johndwells.com

jack-pallot commented 10 years ago

If you're talking about a multi handle type thing, I like the idea, and it is possible (https://github.com/Wildhoney/ngRangeSlider) just a tad hacky. I'm going to have a think about how this could be implemented and see how easy it would be.

jack-pallot commented 10 years ago

Someones already built a much more complex version of this plugin. If you search Straight Up Craft, it should be near the top.

johndwells commented 10 years ago

Ha - yep just saw this yesterday as well and was going to mention it. :)