VortexTrumpetHat
Render SimplePage without route?
I guess it all boils down to wanting to display an error message using the styling of the rest of the Filament site. But
<x-filament-panels::page.simple>
complains there's no context and I'm hoping I'm just missing something simple.16 replies
Render SimplePage without route?
Yep! I've been able to get that partially working , but the Filament
SimplePage
complains that $this
is being used outside object context when I attempt to render the view itself.
Is there a way to return something like response()->view(MySimplePage)
?16 replies
Change active Tab via callback
Not sure what the context of your use case is, but you may be able to utilize injecting the current livewire component instance in your callback?
https://filamentphp.com/docs/3.x/tables/columns/advanced#injecting-the-current-livewire-component-instance
I've used this before to determine what the active tab is (e.g.
->hidden(fn ($livewire) => $livewire->activeTab === 'tabName')
) but maybe it can be used to set the active tab as well?4 replies
Multi-tenancy panel giving 404
Okay, I solved the problem. It was an issue with the
canAccessTenant
function on the User
model, required by the HasTenants
interface. It was only checking the teams (i.e. many to many), not the owned teams (this is a Jetstream feature)5 replies