Skip to content
Advertisement

Tag: fullcalendar

Laravel Livewire Javascript data is not refreshed after component is re-rendered

I need support because my javascript data is not updating when the livewire component gets re-rendered. I use Fullcalendar in a livewire component In my class I have $this->dispatchBrowserEvent(‘contentChanged’); in the render method. When I update $events I see the updated data in the dump [1] but events [2] is not updated. The log [3] shows always the same events

How can I resolve fullCalendar is not a function TypeError error?

I am instantiaing a calendar in my application using FullCalendar, and even though I can see the calendar on my webpage, I cannot execute the fullCalendar() function. It gives me a TypeError saying jquery.js:4050 jQuery.Deferred exception: calendarEl.fullCalendar is not a function TypeError: calendarEl.fullCalendar is not a function Here is the code: Answer You seem to be getting mixed up between

Advertisement