Show Alert Dialog
Alerts are urgent interruptions, requiring acknowledgement, that inform the user about a situation.
Description
Alerts are urgent interruptions, requiring acknowledgement, that inform the user about a situation.
Most alerts don't need titles. They summarize a decision in a sentence or two.
Use title bar alerts only for high-risk situations, such as the potential loss of connectivity. Users should be able to understand the choices based on the title and button text alone.
This action Title
and Text Content
properties accept markdown formatting, see the Label
component documentation for more information.
You can do 3 kind of dialog with this action:
- Alert:
Cancel Text
must be empty - Confirm:
Cancel Text
must be defined - Form:
TextField Type
must be defined
Inputs
- Control Flow (Control Flow)
- Title (String): Optional title of the dialog.
- Text Content (String): Text content of the dialog.
- Customization (Object): Optional customization object, see
Customize Alert Dialog
function. - Confirm Text (String): The text for the confirm button.
- Cancel Text (String): Optional text for the cancel button.
- TextField Type (Text Field Type): Optional input type to show in the dialog.
Outputs
- Control Flow (Control Flow)
- On Cancel (Control Flow): Callback fired when the cancel button is pressed.
- On Confirm (Control Flow): Callback fired when the confirm button is pressed.
- TextField Value (String): Optional value if
TextField Type
is defined.