Unable to find component: [app.filament.app-panel.pages.edit-tenant-profile]

I have the following edit tenant page.
When submitting the form, the following error appears: Unable to find component: [app.filament.app-panel.pages.edit-tenant-profile]

<?php

namespace App\Filament\AppPanel\Pages;

use Filament\Forms\Components\TextInput;
use Filament\Forms\Form;
use Filament\Pages\Tenancy\EditTenantProfile as BaseEditTenantProfile;

class EditTenantProfile extends BaseEditTenantProfile
{
    public static function getLabel(): string
    {
        return __('Tenant profiel');
    }

    public function form(Form $form): Form
    {
        return $form
            ->schema([
                TextInput::make('name')
                    ->label(__('Naam'))
                    ->required()
                    ->unique(ignoreRecord: true),
                TextInput::make('avatar_url')
                    ->label(__('Logo URL'))
                    ->required()
                    ->url(),
            ]);
    }
}
Solution
I found the reason ! (https://github.com/filamentphp/filament/issues/7377)
In my case it was a namespace problem, so I think it's the same for @proculair

If your panel name is App you should have namespace like

App\Filament\AppPanel\Pages -> App\Filament\App\Pages
Was this page helpful?