F
Filamentβ€’7mo 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_β€’7mo ago
Can you just return null ? And remove the html maybe
danzzz
danzzzβ€’7mo ago
thx for your answer. but this also dont work.
einnlleinhatt_
einnlleinhatt_β€’7mo ago
Just return empty string then return '';
Solution
danzzz
danzzzβ€’7mo ago
public function getTitle() : string { return ''; } this works now, thx
danzzz
danzzzβ€’7mo ago
but it removes also the breadcrumbs πŸ˜„