HTML5 date picker doesn't show on Safari

前端 未结 6 1925
星月不相逢
星月不相逢 2021-02-02 05:13

Having previously used jQuery date picker, I have now converted some of the date fields in forms on my website to the HTML5 date picker.

On the documentation, it says Sa

6条回答
  •  [愿得一人]
    2021-02-02 05:46

    When Safari 15 is released, this "issue" will be obsolete.

    "Starting with Safari TP [TP = Technology Preview] 115, released on Oct 22, 2020, UIs for date, datetime-local and time are supported on macOS and iOS. The month input type is unsupported on macOS, but works on iOS. The week input type is unsupported on macOS and iOS."

    • https://bugs.webkit.org/show_bug.cgi?id=119175#c20
    • https://webkit.org/status/#feature-date-and-time-input-types

    Screenshots:

    • https://twitter.com/stefanjudis/status/1320259247750381568
    • https://twitter.com/foolip/status/1319559899358089216

提交回复
热议问题