popupConfig
Examples
kind: PopupForm
inputs:
my-submit-button:
kind: SubmitButton
text: Hello World
subscribe: # OPTIONAL
- kind: Button # button that opens the popup
frame: my-home-frame
source: my-open-form-button
- kind: Model # a model that executes something related to the popup form
frame: my-home-frame
source: my-model
setMessageOnSuccess: It worked!
setMessageOnFailure: It failed!
Object properties
Name |
Type |
Required |
kind |
Constant: PopupForm |
yes |
inputs |
Dictionary |
yes |
subscribe |
Array |
no |
- Object with the following properties:
kind
(required): Constant PopupForm
- A popup shows up in front of all the frames. It can contain additional inputs, warnings and other information
inputs
(required):
- Items to be induced in the popup
- Dictionary of:
- One of the following types:
subscribe
(optional):
- Subscribe to one or more sources. Subscribe to a button to open the popup
- Array of:
- One of the following types: