When an action of submitting an input such as PATCH is successful or fails, what’s the method of displaying a message for 5 seconds to tell the user the outcome?
There is an “alert” element though I’m unsure if there is a better method here.
When an action of submitting an input such as PATCH is successful or fails, what’s the method of displaying a message for 5 seconds to tell the user the outcome?
There is an “alert” element though I’m unsure if there is a better method here.
You can use the Alert element from ‘Layout’ category.
It comes with a workflow called ‘Display alert’ which you can trigger after form submission. You can pass on the alert message and also the duration of the alert.