Filament page blade file not inheriting layout?

I have this class:
class CustomerDepositsReport extends Page implements HasTable, HasForms
{
use InteractsWithTable, InteractsWithForms;
...
}
class CustomerDepositsReport extends Page implements HasTable, HasForms
{
use InteractsWithTable, InteractsWithForms;
...
}
and this in my blade file:
<x-filament-panels::page>
{{ $this->table }}
</x-filament-panels::page>
<x-filament-panels::page>
{{ $this->table }}
</x-filament-panels::page>
The table takes up the full width of the page. There's no sidebar or header. I would think that using the <x-filament-panels::page> would inherit the layout automatically. I looked in the Page class and the $layout it references contains all the necessary components, so I'm unclear of why it's not working correctly.
Solution:
figured it out...i had a render method in my class, so it was overriding the render method in the page class.
Jump to solution
1 Reply
Solution
Jon Mason
Jon Mason14mo ago
figured it out...i had a render method in my class, so it was overriding the render method in the page class.
Want results from more Discord servers?
Add your server