We have a calendar field and use your “min date” function.
At the moment all dates before today are removed and completly empty. If it’s the last day of the month it looks pretty odd. 😜
Would it be possible to add for example an “x” or show the numbers with a disable class?
We tried a custom javascript solution but it doesn’t get the “click” inside the calendar: $(document).on('click','.k-header',function () { removeEmptyDates(); });
function removeEmptyDates() { $('.k-content td').each(function() { var content = $(this).html(); if (content == ' ') { $(this).append('<span>x</span>').addClass('empty'); } }); }