Skip to content
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

Transfer an event between two calendars #637

Closed
AleksGouin opened this issue Jul 12, 2018 · 2 comments
Closed

Transfer an event between two calendars #637

AleksGouin opened this issue Jul 12, 2018 · 2 comments
Labels

Comments

@AleksGouin
Copy link

AleksGouin commented Jul 12, 2018

Hello :)

Describe the bug

I don't know if it's a bug, but i'm experiencing some problems.

Let's say I have two users, with events assigned to each others.
I want to display the events of the first user in the first calendar, and the events of the second user in the second calendar.
But I want to be able to transfer an event from a calendar to the other one thanks to the drag and drop.

Everything is working fine in the "month" view, as I am able to drag and drop an event from a calendar to the other, without any problem.
But with the "week" view I'm not able to do it anymore.

I think the problem come from the "dropData" parameter, that is defined when I define the list outside of the calendar. (ExternalEvents from the html, like in your exemple)

I don't know how to make my events list with this [dropData] parameter or if their's a way around.

Minimal reproduction of the problem with instructions

Here's a link to StackBlitz where I put an exemple of what I want to do: https://p5utsb.run.stackblitz.io

Screenshots

image

image

Versions

  • @angular/core: "^6.0.0"
  • angular-calendar: "^0.25.2"
  • Browser name and version: Chrome Version 67.0.3396.99
@mattlewis92
Copy link
Owner

Drag and drop has been completely overhauled in the new version and it should fix the problems you're experiencing, please give the beta a try and let me know if it works for you! 😄 See #589 for how to try it and how to migrate

The external events demo has also been updated which should give you a good starting point.

@AleksGouin
Copy link
Author

Hi,

It seems to work just as I need !

Thanks you very much !

If I encounter any more problems I'll come back to you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants