fix(inbounds): avoid undefined filterEmailOption in client form

This commit is contained in:
Sora39831 2026-04-05 04:40:24 +08:00
parent 67d24ca0e6
commit 4a1dac89b6

View file

@ -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") }}'>