From dca8f9e5e159d3c39d2df5c019a8a6cad5cad6bd Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Wed, 14 Feb 2024 17:41:22 +0200 Subject: [PATCH] UI: Add notification subject and message limits characters --- .../notification-template-configuration.component.html | 10 ++++++++++ .../notification-template-configuration.component.ts | 4 ++-- ui-ngx/src/assets/locale/locale.constant-en_US.json | 1 + 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/notification/template/configuration/notification-template-configuration.component.html b/ui-ngx/src/app/modules/home/pages/notification/template/configuration/notification-template-configuration.component.html index 9ed015aa95..e39d7f27c8 100644 --- a/ui-ngx/src/app/modules/home/pages/notification/template/configuration/notification-template-configuration.component.html +++ b/ui-ngx/src/app/modules/home/pages/notification/template/configuration/notification-template-configuration.component.html @@ -97,6 +97,11 @@ {{ 'notification.subject-required' | translate }} + + {{ 'notification.subject-max-length' | translate : + {length: templateConfigurationForm.get('MOBILE_APP.subject').getError('maxlength').requiredLength} + }} + notification.message @@ -109,6 +114,11 @@ {{ 'notification.message-required' | translate }} + + {{ 'notification.message-max-length' | translate : + {length: templateConfigurationForm.get('MOBILE_APP.body').getError('maxlength').requiredLength} + }} +