UrbanizedSpy
Link navigation item badge
I have a badge on a navigation item that indicates the number of resources with a particular status - I'd like to link that badge to the pre-filtered table view for the resource. Is it possible to have the badge link to a different URL than the navigation item?
2 replies
Refresh a resource after relation manager triggers model event
Hello! I have a relation manager on a resource, and I'm hoping I can refresh the resource after one of the relations is deleted, because on the resource is updated in the model observer. I can force a redirect back to the same page and that works fine, but it isn't as nice as I'd like it to be. Anyone know if that's possible?
7 replies
Emit Livewire event from Filament form
I have a Livewire component with some existing filters that I'd like to replace with a Filament form. I've followed what's outlined in the documentation here:
https://filamentphp.com/docs/2.x/forms/getting-started#preparing-your-livewire-component
The issue I'm having is the Livewire properties that the fields are bound to don't seem to be updating until something else in the component forces a render, so I'd like to emit an event from the fields on change to force that render. Is there a way to accomplish this?
3 replies