Is it acceptable to change the text in a button straight after an action has been performed to show the action was successful and then change the text again after a short delay (as the button will still work).
Example
In the case where an organisation's admin can see a list of their staff who have access to the app and need the ability to send resend the welcome email for a password reset. Below is the flow of the process.
Is it ok to provide feedback in the button and then change the button back as it still can be used? Is there a better way of providing this feedback?
Initial state of button
Button clicked - waiting for success call from server (animated spinner)
Button text after success of submission
Button reverts to orginal text after 2s