diff --git a/src/components/Controls/AutoComplete.vue b/src/components/Controls/AutoComplete.vue index 321289fb..ab65c594 100644 --- a/src/components/Controls/AutoComplete.vue +++ b/src/components/Controls/AutoComplete.vue @@ -108,6 +108,10 @@ export default { option = this.options.find((o) => o.label === value); } + if (!value && option === undefined) { + return null; + } + return option?.label ?? oldValue; }, async updateSuggestions(keyword) {