mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-4979] Add onChanges detection for Task Header Cloud component (#5208)
* [ADF-4979] Add onChanges detection for Task Header Cloud component * [ADF-4979] Revert licenses.txt changes * [ADF-4979] Documentation added for the taskError Event
This commit is contained in:
committed by
Maurizio Vitale
parent
7d36400dbd
commit
3c1097fb84
@@ -0,0 +1,31 @@
|
||||
<h2>{{ 'APP_LAYOUT.TASK_HEADER_CLOUD.COMPONENT_NAME' | translate }}</h2>
|
||||
|
||||
<mat-form-field class="app-appName-input">
|
||||
{{ 'APP_LAYOUT.TASK_HEADER_CLOUD.APP_NAME_INPUT' | translate }}
|
||||
<input matInput
|
||||
[type]="'text'"
|
||||
[formControl]="appNameFormControl">
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field class="app-taskId-input">
|
||||
{{ 'APP_LAYOUT.TASK_HEADER_CLOUD.TASK_ID_INPUT' | translate }}
|
||||
<input matInput
|
||||
[type]="'text'"
|
||||
[formControl]="taskIdFormControl">
|
||||
</mat-form-field>
|
||||
|
||||
<button mat-button *ngIf="appNameFormControl.value && taskIdFormControl.value"
|
||||
class="app-find-task-button"
|
||||
(click)="updateTaskHeader()">
|
||||
{{ 'APP_LAYOUT.TASK_HEADER_CLOUD.FIND_TASK_BUTTON' | translate }}
|
||||
</button>
|
||||
|
||||
<mat-error *ngIf="errorMessage">{{errorMessage}}</mat-error>
|
||||
|
||||
<div>
|
||||
<adf-cloud-task-header #taskHeader
|
||||
[appName]="appName"
|
||||
[taskId]="taskId"
|
||||
(taskError)="onError($event)">
|
||||
</adf-cloud-task-header>
|
||||
</div>
|
Reference in New Issue
Block a user