© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•4mo ago•
1 reply
Asmit

Help: Loading indicator on submit button.

I use custom livewire page with fialment form and action
Livewire Class:
public function form(Schema $schema): Schema
    {
        return $schema->components([
            FileUpload::make('attachment')
        ])
    }
public function saveAction(): Action
    {
        return Action::make('save')
            ->label('Submit');
    }
public function form(Schema $schema): Schema
    {
        return $schema->components([
            FileUpload::make('attachment')
        ])
    }
public function saveAction(): Action
    {
        return Action::make('save')
            ->label('Submit');
    }

Blade File:
<div class="wire-elements-modal">
    <form>
        <x-filament::section class="wire-elements-modal-section">
       
            {{ $this->form }}

        </x-filament::section>

        {{ $this->saveAction }}          
    </form>
    <x-filament-actions::modals/>
</div>
<div class="wire-elements-modal">
    <form>
        <x-filament::section class="wire-elements-modal-section">
       
            {{ $this->form }}

        </x-filament::section>

        {{ $this->saveAction }}          
    </form>
    <x-filament-actions::modals/>
</div>


Please suggest how can I show loading indication on saveAction while file upload is in progess ?
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

The submit button not disabled when indicator loading ...
FilamentFFilament / ❓┊help
2y ago
Loading indicator
FilamentFFilament / ❓┊help
2y ago
loading indicator
FilamentFFilament / ❓┊help
3y ago
How to make loading button on form submit?
FilamentFFilament / ❓┊help
3y ago