| Summary: | Support the step property of the input field with type datetime-local and time | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Philipp Metzler <pp> |
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Enhancement | CC: | cdumez, megan_gardner, pp, pxlcoder, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 13 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 13 | ||
| URL: | http://bugreports.zemtu.com/test-datetime-local-with-step/ | ||
|
Description
Philipp Metzler
2020-08-03 10:09:50 PDT
UIDatePicker does provide this API: <https://developer.apple.com/documentation/uikit/uidatepicker/1615998-minuteinterval>, but it comes with some limitations: > Discussion > > Use this property to set the interval displayed by the minutes wheel (for example, 15 minutes). The > interval value must be evenly divided into 60; if it is not, the default value is used. The default and > minimum values are 1; the maximum value is 30. We could probably support step values that are evenly divisible by 60 (which, I imagine, represents the most common use cases), but I’m not sure if we can support other values. |