Matt Jenkins
Component not firing events in some render hooks
Also, I have no idea why I have to dispatch an event at all, i would have thought I could just use wire:click='publishStaff' from the component but this seems to be called agains the x-filament::button itself
5 replies
Refresh a table when notification received
So I realised I can listen for a broadcast notification on the resource list class and then do something to the table to refresh it. My solution was to just set the tableSearch to itself which seems to work but feels a bit hacky
5 replies
Use another client that Pusher with Websocket
Just adding to this as it helped me find a solution for filament v3. You need to first uncomment
App\Providers\BroadcastServiceProvider::class
in config/app.php and also comment out authEndpoint in config/filament.php so it looks something like this:
Not sure why the endpoint is set to that and I may be missing something but this worked for me, locally at least!10 replies