Outcomes
Outcomes are the main form actions. For example Save, Cancel or Delete.
Loading...
The form outcomes can be rendered outside of the form, for example in a toolbar or sidebar. If the outcomesElement
is passed to the \<Form> (see Form properties) the outcomes will be rendered there.
When an outcome is clicked the validation errors in the form will be displayed.
Attributes
Attribute | Type | Description |
---|---|---|
value | string | The result of the outcome. It will be sent to the onOutcomePressed handler |
label | string | Text in the button |
styleClass | string | class that will be appended to the DOM element |
visible | boolean | When false the outcome won't be visible |
enabled | boolean | When false the outcome won't clickable |
navigationUrl | string | This attribute is not used in Flowable Forms but it is passed to the host application in the onOutcomePressed. It is used to navigate after an outcome and it is sent to the host application with the expressions NOT resolved. |
Outcomes accept enabled and visible expressions so you can disable or hide some outcomes when some conditions are met. For example enabled: "{{$formValid}}
Loading...