Nic Bovee

Husband, Father, and Solver of Problems.

Wordpress Safari Date Field Polyfill

Tue Jan 19 2021

TL; DR; This is a plugin that includes the date-input-polyfill package to provide a picker for browsers that do not support date inputs such as Safari 13.1.

Working on a site that uses Elementor, I noticed that their date picker element doesn't work on Safari 13.1 and decided to see if there were any polyfills out there for the date input field. I came across the date-input-polyfill package which seemed to fit the bill and bundled it into a simple plugin you can download here.

UPDATE: After going through the process of testing this out further, I noticed a "Native HTML5" option in the Elementor date field. Elementor has already solved this problem for me haha 🤦‍♂️.

But in case I ever run into a situation where I need to make a HTML5 date picker cross-browser ready, I have the plugin for the job.