mirror of
https://github.com/discourse/discourse.git
synced 2026-08-04 10:23:17 -05:00
Limit the maxLength of the name and description text inputs for custom user fields
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
{{/admin-form-row}}
|
||||
|
||||
{{#admin-form-row label="admin.user_fields.name"}}
|
||||
{{input value=buffered.name class="user-field-name"}}
|
||||
{{input value=buffered.name class="user-field-name" maxlength="255"}}
|
||||
{{/admin-form-row}}
|
||||
|
||||
{{#admin-form-row label="admin.user_fields.description"}}
|
||||
{{input value=buffered.description class="user-field-desc"}}
|
||||
{{input value=buffered.description class="user-field-desc" maxlength="255"}}
|
||||
{{/admin-form-row}}
|
||||
|
||||
{{#if bufferedFieldType.hasOptions}}
|
||||
|
||||
Reference in New Issue
Block a user