From 7420f59f762d02a0e02a7ce6d32f85636b0da861 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Wed, 4 Dec 2024 02:40:56 -0500 Subject: [PATCH] Add `maxlength` to registration reason input (#33162) --- app/views/auth/registrations/new.html.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/auth/registrations/new.html.haml b/app/views/auth/registrations/new.html.haml index d58f1ccf4d..55db49f03c 100644 --- a/app/views/auth/registrations/new.html.haml +++ b/app/views/auth/registrations/new.html.haml @@ -62,6 +62,7 @@ as: :text, hint: false, label: false, + input_html: { maxlength: UserInviteRequest::TEXT_SIZE_LIMIT }, required: Setting.require_invite_text, wrapper: :with_block_label