From d4841bbeff7e86aba16e82edbc42b53d70b1194e Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 3 May 2024 15:35:07 -0700 Subject: [PATCH] settings_components: Fix HTMLSelectOneElement selector. Signed-off-by: Anders Kaseorg --- web/src/settings_components.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/settings_components.ts b/web/src/settings_components.ts index 275bce6c36..7924922c26 100644 --- a/web/src/settings_components.ts +++ b/web/src/settings_components.ts @@ -415,7 +415,7 @@ function read_select_field_data_from_form( function read_external_account_field_data($profile_field_form: JQuery): FieldData { const field_data: FieldData = {}; field_data.subtype = $profile_field_form - .find("select[name=external_acc_field_type]") + .find("select:not([multiple])[name=external_acc_field_type]") .val()!; if (field_data.subtype === "custom") { field_data.url_pattern = $profile_field_form