如何更改IOS时间输入的步骤?

Mat*_*att 5 html html5 ios

我想在iOS中使用html5进行时间输入。我尝试使用step =“ 900”属性仅允许15分钟的间隔,这在浏览器中运行时有效,但在我正在开发的ipad上却无法使用。

<input type="time" id="deliveryTime" value="09:00:00"  step="900">
Run Code Online (Sandbox Code Playgroud)

但是在IOS中,它仍然每分钟显示00-59。

有人可以帮忙吗?

小智 2

目前,iOS Safari 不支持输入字段的minmaxstep属性time

请参阅: http: //caniuse.com/#feat=input-datetime