diff options
author | eschcam <cameron.scholes@est.tech> | 2023-04-17 17:13:01 +0100 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2023-05-30 14:40:38 +0000 |
commit | c2942fe4f0d079874e8bafaf5302df5df307df79 (patch) | |
tree | 4dac55caa262fb1525e0ab3a512d38d8d5f7ccd5 /catalog-ui/src/app/ng2 | |
parent | c176abb79ebc5b35d340258ba1bdbfa2939e103a (diff) |
Fix certain default values breaking VFC
For string default values in VFC, only alphanumeric characters should be allowed
Issue-ID: SDC-4475
Signed-off-by: eschcam <cameron.scholes@est.tech>
Change-Id: Id4ca2943f1423b8cc7d3182254298ba19c8a7ee3
Diffstat (limited to 'catalog-ui/src/app/ng2')
-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'} |