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?
protected function getUpdateProfileFormActions(): array{ return [ Action::make('updateProfileAction') ->label('Save') ->submit('editProfileForm'), ];}
protected function getUpdateProfileFormActions(): array{ return [ Action::make('updateProfileAction') ->label('Save') ->submit('editProfileForm'), ];}