Confirm Button
Overview
A confirmation button using SweetAlert2 that you can customize.
Documentation
Typical usage scenario
The Confirm Button displays a confirmation dialog before performing critical actions like deleting data or submitting forms. It helps prevent user errors by asking for approval first.
Features and limitations
-
Uses SweetAlert2 for a sleek confirmation dialog.
-
Customizable title, message, icon, and button texts (Yes/No).
-
Supports both button and link modes.
-
Integrates with Mendix nanoflow/microflow for confirmed actions.
-
Does not automatically render Mendix icons.
Dependencies
Includes SweetAlert2, no additional installation required.
Installation
Import the widget into Mendix, place it on your page, and configure the properties as needed.
Configuration
Set dialog texts, icon, button style, and the action to execute on confirmation.
Known bugs
If no action is provided, the dialog shows but no action will run.