From a31fe2bb82d2eb68a1aa826df947e237e421c1ea Mon Sep 17 00:00:00 2001 From: Odoo Date: Thu, 29 Jun 2023 12:19:04 +0000 Subject: [PATCH] [FIX] discuss: channel name overflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this commit: The channel name used to overflow in the channel suggestion section. After this commit: The name will not overflow in the channnel suggestion section also added limit on input character. Task id: 3366608 closes odoo/odoo#126872 X-original-commit: 95c4b24a4fe8f2af1fce73e99684815d14a895be Signed-off-by: Alexandre Kühn (aku) --- addons/mail/static/src/discuss/core/web/channel_selector.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/mail/static/src/discuss/core/web/channel_selector.xml b/addons/mail/static/src/discuss/core/web/channel_selector.xml index ac09338e148..d9ac36c0a96 100644 --- a/addons/mail/static/src/discuss/core/web/channel_selector.xml +++ b/addons/mail/static/src/discuss/core/web/channel_selector.xml @@ -12,13 +12,14 @@ t-on-click="(ev) => markEventHandled(ev, 'channelSelector.onClickInput')" t-on-keydown="onKeydownInput" type="text" + maxlength="100" /> - + Create: #