mdbootstrap / TW-Elements

𝙃𝙪𝙜𝙚 collection of Tailwind MIT licensed (free) components, sections and templates 😎
https://tw-elements.com
MIT License
12.91k stars 1.62k forks source link

Timepicker Allow Minutes Step instead of Increment #2317

Open agaktr opened 9 months ago

agaktr commented 9 months ago

The timepicker increment options, allows a 5 minute step on the picker.

There should be an option for a custom stepping in minutes as there are occasions that you need the picker to increment in custom ammount of minutes instead of 5(increment) or 1(default behavious)

ex. If a timepicker is used for 45mins classes for example, it has to step up on a 45mins base

If a timepicker is used for reservations in a restaurant you will need the increments to be by 10 minutes.

Making the user to choose a time with 1 minute interval will make it hard as the user will struggle to pick ex. 10:00 as they will choose 10:03 or something and they will tryhard to choose the correct time.

iprzybysz commented 9 months ago

Hi @agaktr, thanks for your suggestion. I've added it to our ideas list.