Home > Enterprise >  Date-time picker is not showing on safari
Date-time picker is not showing on safari

Time:12-22

I have to give input to select date and time. I'm using input type as "datetime-local". It is working as expected on other then safari browser.

My input code is as below:

<input  name="expire_at" type="datetime-local" id="example-datetime-local-input" required>

Safari Image

Expected input:

Expected Input

CodePudding user response:

Which version you are using? Safari version 14 and below is not compatible with type=“datetime-local” you can check all the list here https://caniuse.com/?search=datetime-local

  • Related