F
Filament14mo ago
danzzz

Disable Resource Title

How can I disable or hide a Resources Page Title? On a Page I just do this: public function getTitle(): string | Htmlable { return false; } But this don't work for my Resource Pages.
Solution:
public function getTitle() : string { return ''; } ...
Jump to solution
5 Replies
einnlleinhatt_
einnlleinhatt_14mo ago
Can you just return null ? And remove the html maybe
danzzz
danzzzOP14mo ago
thx for your answer. but this also dont work.
einnlleinhatt_
einnlleinhatt_14mo ago
Just return empty string then return '';
Solution
danzzz
danzzz14mo ago
public function getTitle() : string { return ''; } this works now, thx
danzzz
danzzzOP14mo ago
but it removes also the breadcrumbs 😄

Did you find this page helpful?