I have this validator
calendarOptions={{
validator: (date) => {
let now = new Date();
let day90 = new Date(now.getFullYear(), now.getMonth(), now.getDate() + 90);
//converted to match database
let compday = new Date(date).toISOString();
return date <= day90 && listData.dateList.indexOf(compday) >= 0;
}
}}
I have one customer that this does not work for (all dates are not valid), with no errors on the console log. I was able to verify that the array is actually populated, I'm adding a log inside the validator next to make sure that's running. I'm also removing the 90 day check and building that into the date list instead.
are there any known Chrome extensions that might cause these sort of problems with EasyUI?