filament-kanban-board
filament-kanban-board copied to clipboard
Livewire Implementation issues
I'm not sure how much the package was tested with Filament V3 and Livewire in latest versions, but there is a bug with:
Livewire.emit('onStatusSorted', recordId, fromStatusId, fromOrderedIds);
And
Livewire.emit('onStatusChanged', recordId, toStatusId, fromOrderedIds, toOrderedIds);
These will cause an error in the console log as emit is not defined
will be triggered.
A fix for this can be as simple as changing to dispatch()
, but I am unsure of the implications and other possible issues it might cause. The actions are now working, but the full event dispatch still does not work.
ps. I sadly missed the fact that events are not triggered, as I tested the sorting myself visually :(