Why is livewire dispatch not triggering the function?
I have a custom field in Filament called
custom-repeater.blade.php
contains this script, after rearranging the order
The main problem is that It doesn't trigger this function inside the livewire class at EditGroupSetting.php
It should be able to call that function once I drag the button
3 Replies
I have updated the code to this based on the documentation
However, it still does not trigger the function on the livewire class
change
Livewire.dispatch('reorder', { order: newOrder });
to
$wire.reorder(newOrder);
Thanks for the hint