I have a time input, basically just:
Time: <input type="time" name="timeinput"/>
http://jsfiddle.net/X8E9N/
According to http://www.w3.org/TR/html-markup/input.time.html it supports the step attribute. Is it possible to use this attribute (or other means) to set the step size to 10 minutes? If so, how?
I am aware of some other solutions (e.g. datebox plugin), but I'm hoping for a purely html solution if possible. I am using the datebox plugin sometimes, but it seems pretty slow on mobile devices so I am trying to use the native time pickers when possible.
Seems like Chrome 86 does not support this.
It's possible. You just need to put seconds in step parameter, ex.
<input type="time" step="300"> <!-- 5 min step -->
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With