Show button loading on custom action button

The loading indicator is shown if I use ->action() but not with ->submit(). How can i show it using ->submit()?
2 Replies
josef
josef11mo ago
try
->extraAttributes([
'wire:target' => 'submit',
])
->extraAttributes([
'wire:target' => 'submit',
])
fikurimax
fikurimax11mo ago
worked, Thanks!