mdehoog / Semantic-UI-Calendar

Calendar module for Semantic UI
MIT License
804 stars 126 forks source link

inline true and no popup but TypeError: Cannot read property 'apply' of undefined #113

Open hustqy opened 6 years ago

hustqy commented 6 years ago

I want no popup but also can choose the date the code like this: $('#calendar').calendar({ type : 'date', startMode: 'day', inline: true, disableMinute:true, formatter: { date: function (date, settings) { var day = (date.getDate()).toString(); var month = (date.getMonth() + 1).toString(); var year = date.getFullYear(); $.get('/', {date: date} ); } },

but I got wrong message like this TypeError: Cannot read property 'apply' of undefined at Object.popup (calendar.min.js:1) at Object.selectDate (calendar.min.js:1)