Limit the maxLength of the name and description text inputs for custom user fields

This commit is contained in:
Vinoth Kannan 2018-01-30 17:04:18 +05:30
parent 018cb7f36b
commit 88c05d7050

View File

@ -4,11 +4,11 @@
{{/admin-form-row}} {{/admin-form-row}}
{{#admin-form-row label="admin.user_fields.name"}} {{#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}}
{{#admin-form-row label="admin.user_fields.description"}} {{#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}} {{/admin-form-row}}
{{#if bufferedFieldType.hasOptions}} {{#if bufferedFieldType.hasOptions}}