© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•5mo ago•
2 replies
SuperUserDo

SPA Issue with User Menu Items

I've created User Menu Item with Action

Action::make(name: 'editProfile')
                            ->slideOver()
                            ->label(__(key: 'actions.edit_profile'))
                            ->modalHeading(heading: fn () => __(key: 'actions.edit_profile_for', replace: ['name' => Auth::user()->full_name]))
                            ->icon(icon: Heroicon::Identification)
                            ->fillForm(data: fn() => Auth::user()->toArray())
                            ->schema(UserResource::getFormSchema(includeRoles: false))
Action::make(name: 'editProfile')
                            ->slideOver()
                            ->label(__(key: 'actions.edit_profile'))
                            ->modalHeading(heading: fn () => __(key: 'actions.edit_profile_for', replace: ['name' => Auth::user()->full_name]))
                            ->icon(icon: Heroicon::Identification)
                            ->fillForm(data: fn() => Auth::user()->toArray())
                            ->schema(UserResource::getFormSchema(includeRoles: false))


And it works on inital page load, but when I go to other pages with SPA turned on, component for action is not found, and it wont trigger slideOver modal.

Wondering if that is bug in filament that it deletes html for modal when SPA rerenderes page?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Issue with user menu items rendering with SPA
FilamentFFilament / ❓┊help
5mo ago
User menu in SPA mode
FilamentFFilament / ❓┊help
14mo ago
User menu items, route not found
FilamentFFilament / ❓┊help
3y ago
custom name in User Menu Items
FilamentFFilament / ❓┊help
3y ago