diff options
Diffstat (limited to 'catalog-ui/src/app/ng2/pages/properties-assignment')
-rw-r--r-- | catalog-ui/src/app/ng2/pages/properties-assignment/constraints/constraints.component.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/catalog-ui/src/app/ng2/pages/properties-assignment/constraints/constraints.component.ts b/catalog-ui/src/app/ng2/pages/properties-assignment/constraints/constraints.component.ts index f0c1d938a9..74f0d9719a 100644 --- a/catalog-ui/src/app/ng2/pages/properties-assignment/constraints/constraints.component.ts +++ b/catalog-ui/src/app/ng2/pages/properties-assignment/constraints/constraints.component.ts @@ -94,7 +94,8 @@ export class ConstraintsComponent implements OnInit { constraint: [ { type: 'required', message: 'Constraint value is required'}, { type: 'invalidInt', message: 'Constraint value is not a valid integer'}, - { type: 'invalidFloat', message: 'Constraint value is not a valid floating point value'} + { type: 'invalidFloat', message: 'Constraint value is not a valid floating point value'}, + { type: 'invalidString', message: 'String contains invalid characters'} ], type : [ { type: 'required', message: 'Constraint type is required'} |