From 4a1dac89b643f4ac27ddc9b9aa680b5d4441d1fc Mon Sep 17 00:00:00 2001 From: Sora39831 <540587985@qq.com> Date: Sun, 5 Apr 2026 04:40:24 +0800 Subject: [PATCH] fix(inbounds): avoid undefined filterEmailOption in client form --- web/html/form/client.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/html/form/client.html b/web/html/form/client.html index 3cc13b89..cf99e3b3 100644 --- a/web/html/form/client.html +++ b/web/html/form/client.html @@ -18,7 +18,7 @@ mode="combobox" show-search allow-clear - :filter-option="filterEmailOption" + :filter-option="(input, option) => String(option.componentOptions?.propsData?.value || '').toLowerCase().includes(String(input || '').toLowerCase())" :dropdown-class-name="themeSwitcher.currentTheme" :not-found-content="emailOptions.length === 0 ? null : undefined" :placeholder='{{ printf "%q" (i18n "pages.inbounds.emailSelectPlaceholder") }}'>