This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi there!
Does anyone now if there is something like a "price-range-slider" plugin or component for octobercms?
Something like powerrange?
Would be good for me to find something like that because Im having trouble buidling it myself, because Im a beginner here ;). Any tips on how to build it and connect it a database are very welcome!
Best,
R
Last updated
Well I am not sure what you are specifically trying to do but html has a input range type. Now are we talking about a search function for users on a website? So they can search products by price? Or are talking about setting prices by a slider in the backend?
Here is a quick example on how you can make a slider that visually looks like a price-range-slider. https://www.w3schools.com/code/tryit.asp?filename=GGJ4OHXBHYA1
@rafaelteboekhorst56221 unfortunately there's no in-built widget that provides functionality like a range slider. You can certainly create a form widget that uses the "powerrange" library you have linked, and have a plugin register that form widget for use on your October CMS install.
The docs to create a Form widget can be found here: https://octobercms.com/docs/backend/widgets#form-widgets. The docs to create a plugin can be found here: https://octobercms.com/docs/plugin/registration
1-3 of 3