wire:sortable callback has no effect in custom page
Hi guys,
I created a custom Filament page. Inside, I have the following content :
However, the callback method passed to wire:sortable is NEVER called. I do not know why. Is it a problem with Filament livewire component?
6 Replies
Can you share the code of the Filament page?
<ul wire:sortable="$updateTaskOrder()">
?
<ul wire:sortable="$wire.updateTaskOrder()">
?None of these works :/
Yes of course :
And where is
updateTaskOrder()
🤔Whether present or not, the result is the same. I have no error, no debug displayed, nothing :/
I finally came up with a solution after look at the code table.blade.php from filament package :
It's not as easy to use as the callback from wire:sortable, but it's the best solution I found
any update? same issue