From 9c33eeeb810395341fa30581886d21240018838b Mon Sep 17 00:00:00 2001 From: Silviu Popa Date: Wed, 13 Mar 2019 13:56:31 +0200 Subject: [PATCH] [ADF-4068] ProcessServices/TaskDetails - disable save button on validation errors (#4414) * [ADF-4068] StartTaskComponent - fix name and description empty space validation * [ADF-4068] StartTakComponent - add unit test * [ADF-4068] ProcessServices - add description validaton on edit task form * [ADF-4068] ProcessServies - fix build issue * [ADF-4068] ProcessServices - disable save button on validation errors * [ADF-4068] - lint * [ADf-4068] - fix e2e --- .../card-view-textitem.component.html | 15 +++++++++++---- .../card-view-textitem.component.scss | 10 +++++++++- .../card-view-textitem.component.ts | 8 ++++++-- 3 files changed, 26 insertions(+), 7 deletions(-) diff --git a/lib/core/card-view/components/card-view-textitem/card-view-textitem.component.html b/lib/core/card-view/components/card-view-textitem/card-view-textitem.component.html index 60a59d850b..a4e5b7282c 100644 --- a/lib/core/card-view/components/card-view-textitem/card-view-textitem.component.html +++ b/lib/core/card-view/components/card-view-textitem/card-view-textitem.component.html @@ -40,18 +40,25 @@ class="adf-textarea" [placeholder]="property.default | translate" [(ngModel)]="editedValue" + (input)="onTextAreaInputChange()" [attr.data-automation-id]="'card-textitem-edittextarea-' + property.key"> - done + [attr.data-automation-id]="'card-textitem-update-' + property.key" + class="adf-textitem-icon adf-update-icon"> + done + clear +