vkurko / calendar

Full-sized drag & drop JavaScript event calendar with resource & timeline views

Home Page:https://vkurko.github.io/calendar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Editable ability can not be disabled?

dimakovalevskyi opened this issue · comments

I create simple calendar instance, I want only viewing events, not editing.

editable: false option does nothing. My event on calendar still can be dragged between days and resized.

Should this option disable this abilities? Or how can i make read-only mode for calendar. Thanks!

Here is simple example.
https://codepen.io/dimakovalevskyi/pen/ZEqKRjd

In fact, the editable option has a default value of false. There are 2 other options that have a higher priority if enabled, they are eventStartEditable and eventDurationEditable. Both are true by default. So you need to disable them.

Really it works! Thank you a lot!