Composite
The Composite allows you to display views one after the other horizontally and, should the space on the screen run out, the next view will carry over to a new row right under the previous views.
JSON Format
{
"type": "composite",
"id": ...,
"type": ...,
"margin_left": ...,
"margin_right": ...,
"margin_top": ...,
"margin_bottom": ...,
"is_visible": ...,
"validation_message": ...
}
Fields
| Field | Type | Required | Description |
|---|---|---|---|
validation_message | StatFormulaComponent | Optional. If this view is an input, you can define this formula to return a message when the input value is invalid. If the input is valid, you should return null. Otherwise, make the formula return the string that should be shown to the user. |