[ADF-3282] Add maximum length validator to Start Process Form (#4064)

This commit is contained in:
davidcanonieto
2018-12-10 14:22:48 +00:00
committed by Eugenio Romano
parent 8d22d597c9
commit 4ad3e162a7
3 changed files with 15 additions and 7 deletions

View File

@@ -12,6 +12,9 @@
[formControl]="processNameInput"
id="processName"
required/>
<mat-error *ngIf="nameController.hasError('maxlength')">
{{ 'ADF_PROCESS_LIST.START_PROCESS.ERROR.MAXIMUM_LENGTH' | translate : { characters : maxProcessNameLength } }}
</mat-error>
</mat-form-field>
<mat-form-field class="adf-process-input-container">
<input