-
Notifications
You must be signed in to change notification settings - Fork 436
Closed
Description
Hi,
Maybe I'm not using the method correct, but if I try to set an option on a calendar instance I get the following error: "Maximum call stack size exceeded"
$('input#test', activePage).mobiscroll().calendar();
var maxDate = new Date();
maxDate.setDate( maxDate.getDate() + 14 );
$("input#test").mobiscroll('option', 'maxDate', maxDate);
I'm using:
- Jquery + Jquery mobile.
- A combined download of Date Time & Calendar
Setting the maxDate does work when using .date() instead of .calendar().
It seems the error occurs on all options set after init.
This example doesn't work either on .calendar();
$("input#valid_until").mobiscroll('option', 'firstDay', 2);
Metadata
Metadata
Assignees
Labels
No labels