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');
    }
image.png
Solution
Solved. I had to add @livewireStyles
Was this page helpful?