Custom Fields
Re-Envisioned
Support General HTML5 date input

This topic contains 2 replies, has 2 voices, and was last updated by  SIW 8 months ago.

  • Creator
    Topic
  • #13762
    Resolved
    SIW
    Participant

    How can I use the HTML5 date input fields? According to https://docs.metabox.io/html5-input-types/ this should be possible, but if I use ‘type’ => ‘date’ I end up with the jQuery datepicker instead of the native datepicker.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #13770

    Anh Tran
    Keymaster

    Hi,

    For the date picker, as the plugin already supports a custom ‘date’ field, so it’s not available to use default HTML5 input types. In short, the field types that are already supported by the plugin will overwrite the HTML input types.

    #13824

    SIW
    Participant

    Ok, thanks. I think I’ll create a custom field then.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.