© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
11 replies
yoursjarvis

Is it possible to add loading indicator on a custom Action Button

Hello everyone, I have a custom page for updating user profile. Is it possible to add a loading indicator to the action button, similar to what typical resource save buttons offer?

protected function getUpdateProfileFormActions(): array
{
    return [
        Action::make('updateProfileAction')
            ->label('Save')
            ->submit('editProfileForm'),
    ];
}
protected function getUpdateProfileFormActions(): array
{
    return [
        Action::make('updateProfileAction')
            ->label('Save')
            ->submit('editProfileForm'),
    ];
}
image.png
Solution
shouldn't it be
->submit('updateProfile')
->submit('updateProfile')

?
Jump to solution
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

Loading indicator on a custom action with alpineClickHandler
FilamentFFilament / ❓┊help
17mo ago
Show button loading on custom action button
FilamentFFilament / ❓┊help
3y ago
Is it possible to add a action on a textcolumn
FilamentFFilament / ❓┊help
3y ago
How to show loading indicator for bulk action button?
FilamentFFilament / ❓┊help
3y ago