Filament Plugin Page Form Issue

Hey there im running into a small issue with panel pages and livewire components using filament forms. I have the following setup: I have an Admin panel which is registered via a filament plugin. That panel has tenancy so i want to ship the plugin with a premade tenant profile page. I created the profile page it's class looks like this:
class TenantProfile extends EditTenantProfile
{
protected static ?string $navigationIcon = 'heroicon-s-adjustments-horizontal';

protected static string $view = 'package::pages.tenant-profile';

public static function getLabel(): string
{
return 'Profile';
}
}
class TenantProfile extends EditTenantProfile
{
protected static ?string $navigationIcon = 'heroicon-s-adjustments-horizontal';

protected static string $view = 'package::pages.tenant-profile';

public static function getLabel(): string
{
return 'Profile';
}
}
And here the view:
<x-filament-panels::page>

<x-filament::section>
<x-slot:heading>Customization</x-slot:heading>
<x-slot:description>
Make the platform feel right at home. Upload a logo pick your brand colors and more...
</x-slot:description>

<x-package::tenant-customization wire:key="tenant-customization" />

</x-filament::section>

<x-filament-actions::modals />
</x-filament-panels::page>
<x-filament-panels::page>

<x-filament::section>
<x-slot:heading>Customization</x-slot:heading>
<x-slot:description>
Make the platform feel right at home. Upload a logo pick your brand colors and more...
</x-slot:description>

<x-package::tenant-customization wire:key="tenant-customization" />

</x-filament::section>

<x-filament-actions::modals />
</x-filament-panels::page>
As you can see i created a component called tenant-customization to hold the a filament form. Here i followed the instructions in the Filament docs here: https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component So my component is basically a copy & paste of the docs code at the moment. But whenever i actually view the page the form doesn't render at all also when clicking "Submit" an error occurs which is a bit confusing:
Unable to find component: [dev-idkwhoami.package.pages.tenant-profile]
Unable to find component: [dev-idkwhoami.package.pages.tenant-profile]
Why is it trying to refresh the page view instead of re-rendering the component view ? Am i missing something ? I appreciate any ideas ^^
1 Reply
idkwhoami
idkwhoami2mo ago
I posted an issue to the filament github since this happens even if it is not a panel registered by a plugin but just a normal panel https://github.com/filamentphp/filament/issues/12837
GitHub
Tenant Pages Livewire Component Error · Issue #12837 · filamentphp/...
Package filament/filament Package Version v3.2.80 Laravel Version v11.7.0 Livewire Version v^3.4.10 PHP Version PHP 8.3.6 Problem description When trying to submit a form on a tenant page it throws...