• Hello team,
    I have checked on the Safari browser and verified that the date picker placeholder and date picker icon are not visible for me, even after updating to the latest version (16.5.2) of Safari. I have attempted various solutions using CSS and JS, but have had no success.

    jQuery('#date-choose').attr("onfocus", "(this.type='date')");
     jQuery('#date-choose').attr("onblur", "(this.type='text')");

    I’ve also attempted to use CSS for the date picker.

    input[type="date"]:before {
    color: #fff;
    content: attr(placeholder) !important;
    margin-right: 0.5em;
    width:100%
    }
    input[type="date"]:focus:before {
    content: '' !important;
    }

    I have updated the Contact Form 7 plugin and checked the error log, but there are no related errors. Can you please review and provide a solution? Thanks!

    • This topic was modified 9 months, 3 weeks ago by ashishdolphin.

    The page I need help with: [log in to see the link]

  • The topic ‘Date picker not working in safari’ is closed to new replies.