Time input denies seconds change

I found a funny thing. If I using time input with seconds in value, e.g.: 10:30:15, I can’t change the seconds there. I mean, if I change seconds and try to submit form, I get an error message on this time input. Something like: Next valid values: 10:29:15 and 10:31:15.

Why that? Should I set some parameters?

This works for me, on Firefox on Windows:

<input type="time" step="1" value="10:30:15">

I understand that Safari does not recognise the input type=“time”

3 Likes

It works with step="1". Thanks.

1 Like
step

is in units of one second.If not specified it defaults to 60.

A-a… Yet I understand the reason.