[ADF-4435] Added documentation about task-form buttons (#4831)

* [ADF-4435] Added documentation about task-form buttons

* [ADF-4435] Images of the documentation added don't have the correct dimensions

* [ADF-4435] Resize images

* [ADF-4435] Resize images
This commit is contained in:
arditdomi 2019-06-10 19:31:07 +01:00 committed by Eugenio Romano
parent 238fbf3d88
commit 105a1a2b28
5 changed files with 11 additions and 0 deletions

BIN
docs/.DS_Store vendored

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

@ -9,6 +9,17 @@ Last reviewed: 2019-04-17
Shows a [`form`](../../../lib/process-services-cloud/src/lib/form/models/form-cloud.model.ts) for a task. Shows a [`form`](../../../lib/process-services-cloud/src/lib/form/models/form-cloud.model.ts) for a task.
Shows Cancel, Save, Complete, Claim and Release buttons. Cancel, Save and Complete buttons are always present. Claim and Release buttons are present according to user's permissions and task's condition (Claimed, Completed etc).
![Task form cloud component screenshot](../../docassets/images/adf-task-form-cloud-1.png)
The following example shows the buttons that are visible when the task's condition is released and the user has the admin permissions
![Task form cloud component screenshot](../../docassets/images/adf-task-form-cloud-3.png)
Save and Complete buttons get disabled when at least one of the form's inputs are invalid.
![Task form cloud component screenshot](../../docassets/images/adf-task-form-cloud-2.png)
## Basic Usage ## Basic Usage
```html ```html