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); 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'); }
0 Replies
No replies yetBe the first to reply to this messageJoin