diff --git a/src/portal/lib/src/create-edit-rule/create-edit-rule.component.html b/src/portal/lib/src/create-edit-rule/create-edit-rule.component.html index c4bd8c116..e096b5992 100644 --- a/src/portal/lib/src/create-edit-rule/create-edit-rule.component.html +++ b/src/portal/lib/src/create-edit-rule/create-edit-rule.component.html @@ -68,7 +68,7 @@
diff --git a/src/portal/lib/src/create-edit-rule/create-edit-rule.component.ts b/src/portal/lib/src/create-edit-rule/create-edit-rule.component.ts index 5cb3151aa..0508e4c14 100644 --- a/src/portal/lib/src/create-edit-rule/create-edit-rule.component.ts +++ b/src/portal/lib/src/create-edit-rule/create-edit-rule.component.ts @@ -137,7 +137,11 @@ export class CreateEditRuleComponent implements OnInit, OnDestroy { } }); } - + trimText(event) { + if (event.srcElement.value) { + event.srcElement.value = event.srcElement.value.trim(); + } + } equals(c1: any, c2: any): boolean { return c1 && c2 ? c1.id === c2.id : c1 === c2; }