-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add setting to allow / prevent overlapping slots #46
Comments
Big calendar purpose is to display events on a calendar graphic support. Therefore it makes sense for the events to overlap, as one person might be attending various numerous of events in a single day. This isn't an issue, but simply a request that you'd like big calendar to have to suit your needs. |
Yes, it's a feature request. In my case I want to let users define dates / slots that do not overlap. For example teacher can only teach one class at once. |
Generally I think the best way to handle this is to enforce the event overlapping constraints outside of the calendar using the callbacks. I thnk the only things thats missing to allow this usecase is the ability to prevent the actual drag and select to create a an event. the |
Callbacks would be a nice generic solution. I would propose to add these two events: |
Thanks! :) |
In some cases it should be prevented to create overlapping slots.
I would propose a property e.g.
overlapping={false}
, which defaults to true.I implemented an overlapping check into an own calendar and disabled the slot creation for areas where a slot / event already existed.
The text was updated successfully, but these errors were encountered: