mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4979] Remove unnecessary demo shell required validation (#5244)
* [ADF-4979] Remove unnecessary demo shell required validation * [ADF-4979] unused import
This commit is contained in:
committed by
Maurizio Vitale
parent
b41514cad7
commit
eb1f05dbeb
@@ -22,6 +22,6 @@
|
|||||||
<adf-cloud-task-header #taskHeader
|
<adf-cloud-task-header #taskHeader
|
||||||
[appName]="appName"
|
[appName]="appName"
|
||||||
[taskId]="taskId"
|
[taskId]="taskId"
|
||||||
(taskError)="onError($event)">
|
(error)="onError($event)">
|
||||||
</adf-cloud-task-header>
|
</adf-cloud-task-header>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
import { Component, ViewChild } from '@angular/core';
|
import { Component, ViewChild } from '@angular/core';
|
||||||
import { TaskHeaderCloudComponent } from '@alfresco/adf-process-services-cloud';
|
import { TaskHeaderCloudComponent } from '@alfresco/adf-process-services-cloud';
|
||||||
import { FormControl, Validators } from '@angular/forms';
|
import { FormControl } from '@angular/forms';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './task-header-cloud-demo.component.html',
|
templateUrl: './task-header-cloud-demo.component.html',
|
||||||
@@ -32,8 +32,8 @@ export class TaskHeaderCloudDemoComponent {
|
|||||||
|
|
||||||
errorMessage;
|
errorMessage;
|
||||||
|
|
||||||
appNameFormControl = new FormControl('', Validators.required);
|
appNameFormControl = new FormControl('');
|
||||||
taskIdFormControl = new FormControl('', Validators.required);
|
taskIdFormControl = new FormControl('');
|
||||||
|
|
||||||
constructor() {}
|
constructor() {}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user