I create a calendar from a input element by using
var myWarranty = new dhtmlXCalendarObject([‘wstart’]);
If a date is set I can use as workaround myWarranty.setSensitiveRange… with the selected date to prevent the user to select a different date. But what happens if the date is empty.
I can´t set the date to myWarranty.setSensitiveRange(“00.00.00”,“00.00.00”) or myWarranty.setSensitiveRange(null,null).
Best would be to have a command like myWarranty.disable / . enable or how can I handle this.