You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$('#calendar').on('selectEvent', function (event, activeEvent) {
console.log(event.target);
console.log(activeEvent.description);
console.log(activeEvent.badge);
});
It works fine if u have 1 event but when u have more then 1 event on the same day its values "description..." is always the same value of the first event in the eventlist and not the selected one (the second one). unless this is intentonal.
I can fix it by selecting the .target childnode childnode childnode description.data but it's a bit of work.
Regards
Best calander ever btw.
The text was updated successfully, but these errors were encountered:
nevermind i was a bit to fast. i uncommented your console.log in your code and i saw it's based on ID. and they had the same ID. making them show the same event. sorry stupid of me. you can remove this issue.
maybe add : id: '4hducye', // Event's id (required, for removing and selecting event) :)
after using
$('#calendar').on('selectEvent', function (event, activeEvent) {
console.log(event.target);
console.log(activeEvent.description);
console.log(activeEvent.badge);
});
It works fine if u have 1 event but when u have more then 1 event on the same day its values "description..." is always the same value of the first event in the eventlist and not the selected one (the second one). unless this is intentonal.
I can fix it by selecting the .target childnode childnode childnode description.data but it's a bit of work.
Regards
Best calander ever btw.
The text was updated successfully, but these errors were encountered: