ShowPopUp
This effect allows you to display a pop up to the user in the form of an alert or a bottom sheet. An alert displays as a floating pop up, and the bottom sheet is presented from the bottom of the screen much like resources do in the app.
JSON Format
{
"type": "showPopUp",
"pop_up_view": ...,
"pop_up_title": ...,
"pop_up_type": ...,
"display_cancel_button": ...,
"cancel_text": ...,
"display_save_button": ...,
"save_text": ...,
"should_persist_on_save": ...,
"extra_buttons": ...,
"in_edit_mode": ...,
"dismissible": ...
}
Fields
| Field | Type | Required | Description |
|---|---|---|---|
dismissible | bool | Optional. Indicates if the alert should be dismissible by tapping outside of it. If not provided, it will default to dismissible if there is no save button nor save button text specified, and it will default to non-dismissible if there is to prevent the user from accidentally dismissing a sheet in which they were working. |