mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 17:35:40 +01:00
Add maxlength
to registration reason input (#33162)
This commit is contained in:
parent
30c2a6c01c
commit
7420f59f76
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue