I try to attach a calendar on an input and it works but I cannot set insensitive range.
I use myCalendar = form.getCalendar() and myCalendar.setInsensitiveRange(date, null);
It works on a calendar object but on input the days are always sensitive.
Calendar object can’t control the data that is filled in it’s input.
It is recommended to set the input of calendar to read-only mode so the user can’t type the data not supported by “dateFormat” or any API of calendar: