Semantic-UI-Calendar icon indicating copy to clipboard operation
Semantic-UI-Calendar copied to clipboard

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

Open hustqy opened this issue 7 years ago • 0 comments

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)

hustqy avatar Jan 06 '18 09:01 hustqy