Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Morten Eberhardt Lund 17 posts 107 karma points
    Aug 19, 2017 @ 12:12
    Morten Eberhardt Lund
    0

    Safari not showing the calendar

    We got a website, where the calendar is now showing, when you are in Safari on MacOS, on the phone it works just fine, what could the problem be?

  • Nicholas Westby 2054 posts 7100 karma points c-trib
    Aug 19, 2017 @ 20:22
    Nicholas Westby
    1

    Safari doesn't seem to support the HTML date input field type. It still falls back gracefully to a text input field.

    If that is unacceptable for your use case, there are a few alternatives:

    • Plain Text Use a plain text field instead of a date field, and use a regex in combination with a label to explain the particular date format the user should enter. Example:
      • Date Format
    • Custom Field Implement a custom Formulate field type and render a date picker however you like: http://www.formulate.rocks/articles/custom-field-types
    • Override Field Formulate allows you to override the way a field is rendered. You can make it render something like Angular Datepicker that works across all browsers.
Please Sign in or register to post replies

Write your reply to:

Draft