Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
custom_profile_fields: Disable "External account type" select field.
yogesh sirsatf3578912fa4d
diff --git a/static/js/settings_profile_fields.js b/static/js/settings_profile_fields.jsindex 4201cbd8b7a..96410983072 100644--- a/static/js/settings_profile_fields.js+++ b/static/js/settings_profile_fields.js@@ -392,9 +392,6 @@ function open_edit_form_modal(e) {$profile_field_form.find(".edit_profile_field_choices_container").on("click", "button.delete-choice", delete_choice_row);- $(".profile_field_external_accounts_edit select").on("change", () => {- set_up_external_account_field_edit_form($profile_field_form, "");- });}function submit_form() {diff --git a/static/templates/settings/edit_custom_profile_field_form.hbs b/static/templates/settings/edit_custom_profile_field_form.hbsindex f7a2654e261..73a7d3c95df 100644--- a/static/templates/settings/edit_custom_profile_field_form.hbs+++ b/static/templates/settings/edit_custom_profile_field_form.hbs@@ -24,7 +24,7 @@{{#if is_external_account_field}}<div class="input-group profile_field_external_accounts_edit"><label for="external_acc_field_type">{{t "External account type" }}</label>- <select name="external_acc_field_type">+ <select name="external_acc_field_type" disabled>{{#each ../realm_default_external_accounts}}<option value='{{@key}}'>{{this.text}}</option>{{/each}}