Model
In Docupace Start UI for the widget, the model is created to store the state of all fields and field groups on the page.
You can access the widget model using
`$scope.widgetAppModel`
The model is available in the field execution context as `model`.
For input fields, wherein user enters data (Text input, Single select, Field group, etc.) `model` refers to the model of this field.
For other field types, that do not receive data from the user (Rich-text, Separator, Action (button), Image, etc.)
`model`
refers to the model of the containing Field group.
Name Type | Return type | Description |
---|---|---|
|
| field value |
|
| value of the Enabled condition |
|
| value of the Read-only condition |
|
| value of the Visibility condition (if |
|
|
|
|
| state of all validations (rules) attached to the field |
|
| reference to a parent model. For the root model |