dateInputFormat
option is not supported.Using new Date()
for the for the minValue
, maxValue
and the value
options can cause issues as it also has a time component that will be taken into account when evaluating limits (but not included and parsed from the default input format), so it's suggested to parse fixed dates or remove the time component:
In JavaScript
var date = new Date();
// remove hours:
date.setHours(0,0,0,0);
// or use constructor with string/values:
date = new Date(date.getFullYear(), date.getMonth(), date.getDate());
$('#datePicker').igDateEditor({
minValue: date
});
View on GitHub