search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

onEventClicked is not fired after args.preventDefault() call in onEventMove

Asked by Anonymous
10 days ago.


I’m using Angular Scheduler of 2023.3.5716 version DayPilotPro for Javascript and I think I have a bug with async validation in onEventMove function.

I have several async validations for event moving and resizing. According to your documentation I call args.async and args.preventDefault() + args.loaded() in onEventResize and onEventResize functions.

Validations works perfectly for event resizing but for event moving, function onEventClicked is not called anymore after args.preventDefault() call. I have exactly the same code for onEventMove and onEventResize and I don’t see this problem with resizing.

In order to get onEventClicked called again, I must refresh my web page or make an authorized move to “clear” previous args.preventDefault() call.

Do you know how to resolve this problem please ?

Thank you in advance for your response. The scheduler is great !

Answer posted by Dan Letecky [DayPilot]
10 days ago.

This issue should be fixed now in the latest release (2023.3.5731):

Please let me know if the problem persists.

Comment posted by Anonymous
10 days ago.

I tested with the new version and onEventClicked is now correctly called in both cases.

Thank you !

Comment posted by Dan Letecky [DayPilot]
10 days ago.

Great, thanks for the update!

New Reply
This reply is
or drop files here
Your name (optional):