Open
Description
If I select the "from" date then select the "to" date as the same date as the "from" date, I now can not select the "from" date to any date unless I change the "to" date to a date past the "from" date first, then I can change the "to" date. I am wanting to be able to select any date for the "from" or "to" selectors as long as both are todays date or in the future.
`<script>
$(function() {
$( "#from" ).datepicker({
minDate: new Date(),
defaultDate: "+1w",
changeMonth: true,
numberOfMonths: 1,
onClose: function( selectedDate ) {
$( "#to" ).datepicker( "option", "minDate", selectedDate );
}
});
$( "#to" ).datepicker({
//minDate: new Date(),
defaultDate: "+1w",
regional: "en",
changeMonth: true,
numberOfMonths: 1,
onClose: function( selectedDate ) {
$( "#from" ).datepicker( "option", "maxDate", selectedDate );
}
});
}); </script>`