mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 22:53:43 +08:00
Limit the maxLength of the name and description text inputs for custom user fields
This commit is contained in:
parent
018cb7f36b
commit
88c05d7050
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user