JSFiddle - React, Tailwind, and code Playground
by Emre Bolat
HTML
<input name="setTodaysDate" type="date">
JavaScript
var today = new Date().toISOString().split('T')[0];
document.getElementsByName("setTodaysDate")[0].setAttribute('min', today);