Calender disable

It would be nice to have a call like myCalendar.setEnableMode(flag).

flag = 0 - disable the calendar
flag = 1 - enable the calendar
flag = 2 - don´t open if calendar is attached to a input field and the field is disabled
flag = 3 - open but disable it if calendar is attached to a input field and the field is disabled
flag = 4 - open but enable it if calendar is attached to a input field and the field is disabled

Why flag 4 - with this option the user is not able to type the date manually but it can change the date using the calendar - so no errors during input are possible.

I know that I can disable the calendar using setSensitiveRange, but a dedicated method makes live much easier :slight_smile: