Loading Button

Stable Version 1.0.0 (OutSystems 11)
Published on 18 Sep by 
Details
This component contains two buttons: LoadingButton and LoadingButtonAsync. These buttons become disabled when clicked and show a loading spinner while the OnClick action is running, preventing double-submit problems and giving the user an indication that the action is running (and he should wait). They are really simple to use and can be used as drop-in replacements for the standard Button widget.
Read More

This component contains two buttons: LoadingButton and LoadingButtonAsync.

These buttons become disabled when clicked and show a loading spinner while the OnClick action is running, preventing double-submit problems and giving the user an indication that the action is running (and he should wait).

They are really simple to use and can be used as drop-in replacements for the standard Button widget.

LoadingButton is the simplest drop-in replacement for Button, and best in most cases.  It works like a regular button, but disables the button and shows a spinner while the OnClick action is running.  After the OnClick action is finished the button is enabled and the standard button text is shown again.  Both button text and loading text are customizable.

LoadingButtonAsync is similar to LoadingButton, and can be used in special, more rare, cases where you want the spinner in the button to be shown until a certain async event happens.  You pass a boolean variable IsActive to LoadingButtonAsync.  The spinner starts when you click the button, but only stops when the IsActive variable becomes false, not directly after the OnClick action is finished. 

Both buttons are shown in the demo.


Reviews (0)
Category
UI & Widgets
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Steven Decock who created this component.
Dependencies
See all 1 dependencies
Requirements
Platform:
11.0.606.0
Database:
All
Stack:
.NET
Component Consumers
No consumers yet.
Weekly Downloads