mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4068] ProcessServices - add description validation on Edit Task Form (#4366)
* [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
This commit is contained in:
committed by
Maurizio Vitale
parent
1fef1e14ff
commit
933a7256a3
@@ -29,6 +29,7 @@ import {
|
||||
} from '@alfresco/adf-core';
|
||||
import { TaskDetailsModel } from '../models/task-details.model';
|
||||
import { TaskListService } from './../services/tasklist.service';
|
||||
import { TaskDescriptionValidator } from '../validators/task-description.validator';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-task-header',
|
||||
@@ -168,7 +169,8 @@ export class TaskHeaderComponent implements OnChanges, OnInit {
|
||||
key: 'description',
|
||||
default: this.translationService.instant('ADF_TASK_LIST.PROPERTIES.DESCRIPTION_DEFAULT'),
|
||||
multiline: true,
|
||||
editable: true
|
||||
editable: true,
|
||||
validators: [new TaskDescriptionValidator()]
|
||||
}
|
||||
),
|
||||
new CardViewTextItemModel(
|
||||
|
Reference in New Issue
Block a user