Cant override Login Header Title

Why I can override the Heading but not the Title? The "Cant override this text" should be "Test"
<?php

namespace App\Filament\Pages;

use Filament\Forms\Form;
use Filament\Pages\Auth\Login as BaseAuth;
use Illuminate\Contracts\Support\Htmlable;

class Login extends BaseAuth
{
public function form(Form $form): Form
{
return $form
->schema([
$this->getEmailFormComponent(),
$this->getPasswordFormComponent(),
$this->getRememberFormComponent(),
])
->statePath('data');
}

public function getHeading(): string|Htmlable
{
return 'ABC';
}

public function getTitle(): string
{
return 'Test';
}

}
<?php

namespace App\Filament\Pages;

use Filament\Forms\Form;
use Filament\Pages\Auth\Login as BaseAuth;
use Illuminate\Contracts\Support\Htmlable;

class Login extends BaseAuth
{
public function form(Form $form): Form
{
return $form
->schema([
$this->getEmailFormComponent(),
$this->getPasswordFormComponent(),
$this->getRememberFormComponent(),
])
->statePath('data');
}

public function getHeading(): string|Htmlable
{
return 'ABC';
}

public function getTitle(): string
{
return 'Test';
}

}
No description
7 Replies
Dennis Koch
Dennis Koch11mo ago
Check the blade file. I think it's the name of your app
GeRaged | Niklas
GeRaged | Niklas11mo ago
Which blade file? It is the Name of my app. I changed the App name to "Cant override this text" but I dont want the title to be the app name. I want to repalce it with an image I dont created any blade file
Dennis Koch
Dennis Koch11mo ago
Yes. So it still uses the default vendor login.blade.php. Copy that to your application, set the $view property and modify it to your needs. If you generally want a logo instead of your app name (also in the topbar) check the docs.
GeRaged | Niklas
GeRaged | Niklas11mo ago
Where do I need to copy the login.blade.php and what do you mean by "set the $view property"?
GeRaged | Niklas
GeRaged | Niklas11mo ago
But I need different logos for login page and top bar
Dennis Koch
Dennis Koch11mo ago
Check the vendor folder and search for filament package. You need to set a $view property on your Livewire class so that Livewire knows that it needs to use that view