Dismiss Custom Dialog
With this action, you can easily close the custom dialog, providing a convenient way for users to dismiss it. This functionality is handy when you want to give users the option to close the dialog from any widget within it, like a close button.
Adding Dismiss Custom Dialog [Action]
Follow the steps below to add this type of action to any widget:
- Select the Widget (e.g., Button) on which you want to add the action.
- Select Actions from the Properties panel (the right menu), and click + Add Action.
- Search and select the Dismiss Custom Dialog (under Alerts/Notifications) action.
- You can set a default value to be sent when the user closes the custom dialog. You can do so by enabling the Has Value option. For instance, if the dialog provides a list of colors and the user closes it without selecting any color, you can set a default color value of "Black" to be sent as the default selection.