From a3ffcf7631323be5b4b8a51cbbd10889f70f7a2c Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Wed, 20 Mar 2024 10:19:30 +0100 Subject: [PATCH] fix(conversation): set warnings on name/description max length Signed-off-by: Maksim Sukharev (cherry picked from commit a350dcd6f2ca42a62796a55c15ba2f20c59fd92c) Signed-off-by: Maksim Sukharev [skip ci] --- .../ConversationSettings/BasicInfo.vue | 6 ++++- .../NewGroupConversation.vue | 24 +++++++++++++++++-- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/src/components/ConversationSettings/BasicInfo.vue b/src/components/ConversationSettings/BasicInfo.vue index 6282c6335979..4b5c2d22284b 100644 --- a/src/components/ConversationSettings/BasicInfo.vue +++ b/src/components/ConversationSettings/BasicInfo.vue @@ -30,6 +30,7 @@ :loading="isNameLoading" :placeholder="t('spreed', 'Enter a name for this conversation')" :edit-button-aria-label="t('spreed', 'Edit conversation name')" + :max-length="CONVERSATION.MAX_NAME_LENGTH" @submit-text="handleUpdateName" @update:editing="handleEditName" />