I’m having some issues due to users being able to click around while a save operation is completing.
The save operation is triggered by clicking a Save button.
I can easily have the Save button trigger a Show Element to put a modal with a spinner across the screen to prevent screen interaction , but what do I set up in the Workflow area to hide the modal once the database operation completes?
That is, what event in the Workflow am I waiting for before I hide the modal?
In case you’re wondering - in the workflow of the Save button, I tried showing the modal, then doing the save operation to update the thing, then hiding the modal again, but the modal shows and hides so immediately this has no effect b/c the modal does not wait to hide until the save operation actually completes.
Or is there a better way to prevent screen interaction during certain database operations?