vkurko / calendar

Full-sized drag & drop JavaScript event calendar with resource & timeline views
https://vkurko.github.io/calendar/
MIT License
1.23k stars 108 forks source link

Editable Option not Working #127

Closed PedroYuriAlves closed 1 year ago

PedroYuriAlves commented 1 year ago

editable option is not working, neither in master editable nor for each event.


new EventCalendar(document.getElementById('calendar'), { view: 'timeGridWeek', height: '800px', headerToolbar: { start: 'prev,next today', center: 'title', end: 'dayGridMonth,timeGridWeek,timeGridDay,listWeek resourceTimeGridWeek' }, buttonText: function (texts) { texts.resourceTimeGridWeek = 'resources'; return texts; }, resources: [ { id: 1, title: 'Resource A' }, { id: 2, title: 'Resource B' } ], scrollTime: '09:00:00', events: createEvents(), views: { timeGridWeek: { pointer: true }, resourceTimeGridWeek: { pointer: true } }, dayMaxEvents: true, nowIndicator: true, editable: false });

vkurko commented 1 year ago

Please see this comment.

PedroYuriAlves commented 1 year ago

Thanks, works just fine! :)