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');
}
No description
Solution:
Solved. I had to add @livewireStyles
Jump to solution
1 Reply
Solution
wulfheart
wulfheart8mo ago
Solved. I had to add @livewireStyles
Want results from more Discord servers?
Add your server