Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: Fix length of custom profile field URL input.
Archisman Das491b1513ebad
diff --git a/static/js/settings_account.js b/static/js/settings_account.jsindex 36505352abd..92d85e1477e 100644--- a/static/js/settings_account.js+++ b/static/js/settings_account.js@@ -170,6 +170,7 @@ export function append_custom_profile_fields(element_id, user_id) {is_long_text_field: field.type === all_field_types.LONG_TEXT.id,is_user_field: field.type === all_field_types.USER.id,is_date_field: field.type === all_field_types.DATE.id,+ is_url_field: field.type === all_field_types.URL.id,is_select_field,field_choices,});diff --git a/static/templates/settings/custom_user_profile_field.hbs b/static/templates/settings/custom_user_profile_field.hbsindex 9dadea3289c..7a7e2e8ebb9 100644--- a/static/templates/settings/custom_user_profile_field.hbs+++ b/static/templates/settings/custom_user_profile_field.hbs@@ -20,6 +20,8 @@<input class="custom_user_field_value datepicker" data-field-id="{{ field.id }}" type="text"value="{{ field_value.value }}" /><span class="remove_date"><i class="fa fa-close"></i></span>+ {{else if is_url_field }}+ <input class="custom_user_field_value" type="{{ field_type }}" value="{{ field_value.value }}" maxlength="2048" />{{else}}<input class="custom_user_field_value" type="{{ field_type }}" value="{{ field_value.value }}" maxlength="50" />{{/if}}