JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.15/themes/ui-lightness/jquery-ui.css">
<input type="text" id="Date" value="" />

JavaScript

$(document).ready(function() {
    $('#Date').datepicker({
        onSelect: function(dateText, inst) {
          
            var today = new Date();
            today = Date.parse(today.getMonth()+1+'/'+today.getDate()+'/'+today.getFullYear());
            
            var selDate = Date.parse(dateText);
            
            if(selDate < today) {
            
                $('#Date').val('');
                $(inst).datepicker('show');
            }
        }
    });
});