mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4432] TaskFormCloudComponent - should be read only if the task is unclaimed. (#4654)
* [ADF-4432] FormCloud - should be read only if the task is unclaimed.* Modifed formCloud component related claim/unclaim custom buttons.* Added unit tests to the recent changes* Created an component to project custom form outcomes. * * Added documentation to the formcloudcustomoutcome component.
This commit is contained in:
committed by
Eugenio Romano
parent
860529058c
commit
3291ecaccb
@@ -32,6 +32,28 @@ Shows a [`form`](../../../lib/process-services-cloud/src/lib/form/models/form-cl
|
||||
</adf-cloud-form>
|
||||
```
|
||||
|
||||
### Custom form outcomes template
|
||||
|
||||
You can set the custom form outcomes using an `<adf-cloud-form-custom-outcomes>` element.
|
||||
|
||||
```html
|
||||
<adf-cloud-form .... >
|
||||
|
||||
<adf-cloud-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-cloud-form-custom-outcomes>
|
||||
|
||||
</adf-cloud-form>
|
||||
```
|
||||
|
||||
### Empty form template
|
||||
|
||||
The template defined inside `empty-form` will be shown when no form definition is found:
|
||||
|
Reference in New Issue
Block a user