© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago
HeartlandTechie

Page title changes with Wizard?

I'm trying to make a page title the name of an entity and it works fine when the page loads. When I use the Wizard to advance to the next step, my page heading disappears. Any thoughts or insight?

web.php

Route::get('/checkin/check-in/{id}', \App\Filament\Checkin\Pages\CheckIn::class);
Route::get('/checkin/check-in/{id}', \App\Filament\Checkin\Pages\CheckIn::class);


checkin.php

CheckIn extends Page
{

    protected static ?string $navigationIcon = 'heroicon-o-document-text';

    protected ?string $heading = '';
    
    //protected ?string $subheading = '';

    protected static string $view = 'filament.checkin.pages.check-in';

    public ?string $student_number = '';
    public ?string $status = '';
    public ?string $out_reason = '';
    public ?string $in_reason = '';

    public ?string $info;

    public function mount($id)
    {

        $this->info = $id;
       $this->heading = \App\Models\School::where('school_number', $id)->value('name');


    }
CheckIn extends Page
{

    protected static ?string $navigationIcon = 'heroicon-o-document-text';

    protected ?string $heading = '';
    
    //protected ?string $subheading = '';

    protected static string $view = 'filament.checkin.pages.check-in';

    public ?string $student_number = '';
    public ?string $status = '';
    public ?string $out_reason = '';
    public ?string $in_reason = '';

    public ?string $info;

    public function mount($id)
    {

        $this->info = $id;
       $this->heading = \App\Models\School::where('school_number', $id)->value('name');


    }
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

title page
FilamentFFilament / ❓┊help
3y ago
Next page Wizard
FilamentFFilament / ❓┊help
3y ago
Custom Page title changes by following the passed value
FilamentFFilament / ❓┊help
3y ago
Remove page title
FilamentFFilament / ❓┊help
2y ago