Description
Package
filament/filament
Package Version
3.2.133
Laravel Version
11.38.2
Livewire Version
3.5.12
PHP Version
8.4.3
Problem description
I'm trying to extend profile form page via https://filamentphp.com/docs/3.x/panels/users#customizing-the-authentication-features documentation. I did exactly the same as the example in the document, but it still gives an error: Unable to find component: [app.filament.pages.auth.edit-profile]
Expected behavior
The custom profile page should not give any errors.
Steps to reproduce
Follow the Customizing the authentication features
section in the https://filamentphp.com/docs/3.x/panels/users#customizing-the-authentication-features
use App\Filament\Pages\Auth\EditProfile;
use Filament\Panel;
public function panel(Panel $panel): Panel
{
return $panel
// ...
->profile(EditProfile::class);
}
<?php
namespace App\Filament\Pages\Auth;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Form;
use Filament\Pages\Auth\EditProfile as BaseEditProfile;
class EditProfile extends BaseEditProfile
{
public function form(Form $form): Form
{
return $form
->schema([
TextInput::make('username')
->required()
->maxLength(255),
$this->getNameFormComponent(),
$this->getEmailFormComponent(),
$this->getPasswordFormComponent(),
$this->getPasswordConfirmationFormComponent(),
]);
}
}
And go to profile page and type any password and wait 500ms (since 500ms debounce). You'll get the error.
Clue about the issue, maybe you have an idea: Error is gone when removed the ->live()
method in getPasswordFormComponent()
method.
Reproduction repository (issue will be closed if this is not valid)
https://github.com/filamentphp/demo
Relevant log output
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo