alfresco-ng2-components/docs/process-services/components/form-custom-outcome.component.md
siva kumar ea62b1e3bd
[ACA-3416] Add Claim/Release actions on adf task form (#5753)
* [ACA-3255] FE - Claim a task

* * Added unit tests

* * Added unit tests
* Changed cloud directive names

* * Added/Updated documents

* * Added showReleaseClaim button flag
* Add unit test too

* * Used claim/release directive in task-header component.

* * Fixed unit test

* * Fixed one comment

* * After rebase

* * Fixed comments
2020-06-10 10:43:23 +01:00

35 lines
895 B
Markdown

---
Title: Form custom outcomes component
Added: v3.9.0
Status: Active
Last reviewed: 2020-06-09
---
# [Form custom outcomes component](../../../lib/process-services/src/lib/form/form-custom-outcomes.component.ts "Defined in form-custom-outcomes.component.ts")
Supplies custom outcome buttons to be included in [Form component](form.component.md).
![](../../docassets/images/form-custom-outcomes.component.png)
## Basic Usage
```html
<adf-form>
<adf-form-custom-outcomes>
<button mat-button (click)="onCustomOutcome1()">
Custom-outcome-1
</button>
<button mat-button (click)="onCustomOutcome2()">
Custom-outcome-2
</button>
<button mat-button (click)="onCustomOutcome3()">
Custom-outcome-3
</button>
</adf-form-custom-outcomes>
</adf-form>
```
## See Also
- [Form component](form.component.md)