I am attempting to replace JS buttons with quick actions. These button simply call a web service method and alert the result and need no user interaction.
With quick action a modal always seems to appear and this is not desirable.
I am calling the Webservice method in the
doInit function and firing a toast event with the results and have no need for the modal popup.
Seems an oversight maybe? But is there a way to accomplish this without the modal to closely mimic the JS button functionality?
Ideally we could show the spinner without the modal
Right now I am simply calling
at the end of the doInit but it is not the most ideal in way of a UI to do this IMHO as it flashes the modal on the screen briefly.