Cant override Login Header Title
Why I can override the Heading but not the Title?
The "Cant override this text" should be "Test"
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';
}
}