JSFiddle - React, Tailwind, and code Playground

by suit

HTML

<form id="win" action="#"><input type="date" /></form>
<form id="fail" action="#"><input type="date" /></form>

JavaScript

$(document).ready(function() {    
    $('#win input[type="date"]').each(function() {
        $(this).clone().attr('type','text').appendTo('#win');
        $(this).remove();
    });
    
    $('#fail input[type="date"]').attr('type','text');  
});