PopUpButton
This view will display as a button. Upon tapping on the button, a pop-up will be triggered. You can customize the pop-up view as you like.
JSON Format
{
"type": "popUpButton",
"id": ...,
"type": ...,
"margin_left": ...,
"margin_right": ...,
"margin_top": ...,
"margin_bottom": ...,
"is_visible": ...,
"validation_message": ...,
"text": ...,
"icon": ...,
"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. |