I'm on Angular 4.4.6 and I use ap-angular2-fullcalendar 1.3.1.
I have an error while updating events.
I load my events from the database and then made a component for handling the calendar plugin.
the @Input()is an array of event data which I check with ItterableDiffer and keyValuediffer if an object in the array has been changed. Now when I load the page and set the @Input() it works like a charm, however, when I update the event with the same function the event.end results in null when I call
fullCalendar('updateEvent', event);
I get the event by using fullCalendar('clientEvents', eventId);
and then update it's values.
I'm on Angular 4.4.6 and I use ap-angular2-fullcalendar 1.3.1.
I have an error while updating events. I load my events from the database and then made a component for handling the calendar plugin. the
@Input()
is an array of event data which I check with ItterableDiffer and keyValuediffer if an object in the array has been changed. Now when I load the page and set the@Input()
it works like a charm, however, when I update the event with the same function the event.end results in null when I callfullCalendar('updateEvent', event);
I get the event by usingfullCalendar('clientEvents', eventId);
and then update it's values.What am I doing wrong?