Override the default "Edit Profile" page with the typical Filament full-page design, adding two forms on one page.
One-time payment
Sign in with GitHub to buy
Sign in first, then complete your $9 checkout.
30-day money-back guarantee
The whole logic for Custom Profile is in the EditProfile custom page.
In the Panel Provider we enable profile feature with the profile() method.
public function panel(Panel $panel): Panel{ return $panel ->default() ->id('admin') ->path('admin') ->login() ->profile() // ...}
We are using Filament Forms feature called multiple forms to add two forms in one page.
In the Panel Provider we modify default settings URL in the userMenuItems() method to use Custom Page.
public function panel(Panel $panel): Panel{ return $panel ->default() ->id('admin') ->path('admin') ->login() ->profile() ->userMenuItems([ 'profile' => MenuItem::make()->url(fn (): string => EditProfile::getUrl()) ]) // ...}
The full code for...