HTML5 time input interval

Maybe I was just looking incorrectly, but does anyone know how to make time entry only incrementally using a counter based on a given interval. So if it is 10 minutes, the up arrow goes +10 minutes, if it changes automatically + hour per hour of change

8:50 - up arrow ends from 9:00 -OR- 8:50 - down arrow shoots ends 8:40

+5
source share
1 answer

Of course, just use the step attribute, where the step indicates the number of seconds to increase (60 seconds x 10 minutes = 600 seconds):

<input type="time" value="08:30:00" step="600">

JsFiddle example

+14
source

All Articles