fix protractor report

fix validation
fix log deprecated
fix ADF-3576 Single required dropdown column dynamicgrid aps-form row editor not saving
This commit is contained in:
Eugenio Romano
2018-09-21 15:18:06 +01:00
parent 6e72a84d13
commit bd5be8912f
7 changed files with 81 additions and 66 deletions

View File

@@ -124,7 +124,7 @@
<div *ngIf="showHeaderContent" class="adf-task-details-core-sidebar-checklist">
<div *ngIf="showChecklist">
<adf-checklist #activitichecklist
[readOnly]="readOnlyForm"
[readOnly]="internalReadOnlyForm"
[taskId]="taskDetails.id"
[assignee]="taskDetails?.assignee?.id"
(checklistTaskCreated)="onChecklistTaskCreated($event)"

View File

@@ -175,6 +175,7 @@ export class TaskDetailsComponent implements OnInit, OnChanges {
showAssignee: boolean = false;
showAttachForm: boolean = false;
internalReadOnlyForm: boolean = false;
private peopleSearchObserver: Observer<UserProcessModel[]>;
public errorDialogRef: MatDialogRef<TemplateRef<any>>;
@@ -306,7 +307,9 @@ export class TaskDetailsComponent implements OnInit, OnChanges {
let endDate: any = res.endDate;
if (endDate && !isNaN(endDate.getTime())) {
this.readOnlyForm = true;
this.internalReadOnlyForm = true;
} else {
this.internalReadOnlyForm = this.readOnlyForm
}
if (this.taskDetails && this.taskDetails.involvedPeople) {