CAPS in resource headings
I have set up a
$modelLabel
and $navigationLabel
which includes CAPS as part of the string. This appears correctly in navigation and the create button for the resource. But the label is converted to title case in the resource title. How can I force this to keep the correct case?
Solution:Jump to solution
Aha, nice. Setting
protected static ?string $title = 'CUSTOM Users';
in the "ManageRecords" Page works. Thanks @Patrick Boivin2 Replies
You can override
getTitle()
on the page class. It wraps the title with Str::headline()
by default.Solution
Aha, nice. Setting
protected static ?string $title = 'CUSTOM Users';
in the "ManageRecords" Page works. Thanks @Patrick Boivin