Is it possible to add loading indicator on a custom Action Button
Hello everyone, I have a custom page for updating user profile. Is it possible to add a loading indicator to the action button, similar to what typical resource save buttons offer?
6 Replies
->target()
?
I think submit should do this..@Leandro Ferreira hello, I really appreciate you assistance but I think there is no target method available
yes, I see... target in the
<x-filament::button>
, actually
Is it a custom page?@Leandro Ferreira yes sir
it is a custom page
and this is the blade file of that page
Solution
shouldn't it be
->submit('updateProfile')
?@Leandro Ferreira yes it is... thank you sir really thank you pointing out this mistake. ππ