Add maxlength to registration reason input (#33162)

This commit is contained in:
Matt Jankowski 2024-12-04 02:40:56 -05:00 committed by GitHub
parent 30c2a6c01c
commit 7420f59f76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,6 +62,7 @@
as: :text, as: :text,
hint: false, hint: false,
label: false, label: false,
input_html: { maxlength: UserInviteRequest::TEXT_SIZE_LIMIT },
required: Setting.require_invite_text, required: Setting.require_invite_text,
wrapper: :with_block_label wrapper: :with_block_label