© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
3 replies
wulfheart

Button showing as loading by default

Hello,

I am using the form builder and it shows the loading animation by default.
My form component looks like this:
public function form(Form $form): Form
    {
        $vm = $this->view;

        return $form
            ->schema([
                TextInput::make('title')
                    ->label($vm->name_label)
                    ->helperText('')
                    ->required(),
                Select::make('phase_length_in_minutes')
                    ->label($vm->phase_length_in_minutes_label)
                    ->options([
                        1000 => '1000 Minutes',
                    ])
                    ->required(),
                Actions::make([
                    Action::make('Anmelden')
                        ->label('Anmelden')
                        ->button()
                        ->submit('create'),
                ])->fullWidth(),
            ])
            ->statePath('data');
    }
public function form(Form $form): Form
    {
        $vm = $this->view;

        return $form
            ->schema([
                TextInput::make('title')
                    ->label($vm->name_label)
                    ->helperText('')
                    ->required(),
                Select::make('phase_length_in_minutes')
                    ->label($vm->phase_length_in_minutes_label)
                    ->options([
                        1000 => '1000 Minutes',
                    ])
                    ->required(),
                Actions::make([
                    Action::make('Anmelden')
                        ->label('Anmelden')
                        ->button()
                        ->submit('create'),
                ])->fullWidth(),
            ])
            ->statePath('data');
    }
image.png
Solution
Solved. I had to add @livewireStyles
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

Showing the last page as default
FilamentFFilament / ❓┊help
16mo ago
Setting navigation group as collapsed by default
FilamentFFilament / ❓┊help
2y ago
ImageColumn / DefaultImage not showing
FilamentFFilament / ❓┊help
6mo ago
Collapse NavigationGroups by default when used as ENUM
FilamentFFilament / ❓┊help
4mo ago