Mobiscroll.jquery.min.js:2 Uncaught TypeError: Cannot read property 'settings' of null at w (mobiscroll.jquery.min.js:2)

with min/max settings, I got the issue of "mobiscroll.jquery.min.js:2 Uncaught TypeError: Cannot read property ‘settings’ of null
at w (mobiscroll.jquery.min.js:2) "

The calendar appear blank sometimes.

Hi @WebOps_LLC, and welcome to the Mobiscroll Forum!

Can you share a few lines of code on the usage? It would help to track down the issue! Also any context info is welcome!

getMinDate = moment().format(‘YYYY-MM-DD’);
getMaxDate = moment().format(‘YYYY-MM-DD’);
$(’#txtLocalArriveBy’)
.mobiscroll()
.date({
dateFormat: ‘yy-M-dd’,
dateWheels: ‘yyMdd’,
dateOrder: ‘yyMdd’,
min: new Date(moment(getMinDate, ‘YYYY-MM-DD’)),
max: new Date(moment(getMaxDate, ‘YYYY-MM-DD’))

                            })
                            .change(function () {
                               
                            });

Thanks for the code! So far I could not reproduce the error using the above code with the latest version. Are you having trouble with an older version of Mobiscroll? If not, can you attach an example where this error comes up?

Thanks!