Button from aps/Button or aps/ToolbarButton widget stays disabled after it is clicked
Original Publishing Date:
2020-01-22
Symptoms
I am using the aps/Button
(or aps/ToolbarButton
) widget in my custom UI.
After a button is clicked and the click handler completes the button stays in disabled state and shows a spinning circle.
Resolution
This is default behavior to prevent double submission by user. To enable the button back, you should call the cancel()
method on it. Check the documentation for additional information and usage example: click here.
Internal content