diff --git a/ui-ngx/src/app/modules/home/pages/notification/sent/sent-notification-dialog.component.html b/ui-ngx/src/app/modules/home/pages/notification/sent/sent-notification-dialog.component.html
index 3aa7c98069..1ebd5a098e 100644
--- a/ui-ngx/src/app/modules/home/pages/notification/sent/sent-notification-dialog.component.html
+++ b/ui-ngx/src/app/modules/home/pages/notification/sent/sent-notification-dialog.component.html
@@ -246,7 +246,7 @@
trigger-text="{{ 'notification.see-documentation' | translate }}">
diff --git a/ui-ngx/src/app/modules/home/pages/notification/template/template-configuration.ts b/ui-ngx/src/app/modules/home/pages/notification/template/template-configuration.ts
index 2eaf1807a0..79612a8592 100644
--- a/ui-ngx/src/app/modules/home/pages/notification/template/template-configuration.ts
+++ b/ui-ngx/src/app/modules/home/pages/notification/template/template-configuration.ts
@@ -156,7 +156,7 @@ export abstract class TemplateConfiguration extends DialogComponent<
});
this.smsTemplateForm = this.fb.group({
- body: ['', Validators.required]
+ body: ['', [Validators.required, Validators.maxLength(320)]]
});
this.slackTemplateForm = this.fb.group({
diff --git a/ui-ngx/src/app/modules/home/pages/notification/template/template-notification-dialog.component.html b/ui-ngx/src/app/modules/home/pages/notification/template/template-notification-dialog.component.html
index a7576f7265..414bf11732 100644
--- a/ui-ngx/src/app/modules/home/pages/notification/template/template-notification-dialog.component.html
+++ b/ui-ngx/src/app/modules/home/pages/notification/template/template-notification-dialog.component.html
@@ -203,7 +203,7 @@
trigger-text="{{ 'notification.see-documentation' | translate }}">
diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json
index 75c373250e..20fe768b65 100644
--- a/ui-ngx/src/assets/locale/locale.constant-en_US.json
+++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json
@@ -2840,6 +2840,7 @@
"mark-as-read": "Mark as read",
"message": "Message",
"message-required": "Message is required",
+ "message-max-length": "Message should be less than or equal to {{ length }} characters",
"name": "Name",
"name-required": "Name is required",
"new-notification": "New notification",