When a button is clicked to run a process, the spinner appears
(The screenshots depicts a process of searching all vendor that have a letter w, the process start when the search button is clicked)
But after a few seconds it disappears (even though the process running is not complete, now this gives the user access to the screen, when this happens the user thinks process running is complete and expect results and start clicking other buttons so this creates a mess now because at this point the process is still running).
Then when the process is complete the results are displayed.
I need to make the spinner to visible until the process running is complete.
Any advice will be highly appreciated.
Thank you