diff --git a/api/js/etemplate/Et2Select/SearchMixin.ts b/api/js/etemplate/Et2Select/SearchMixin.ts index f0eb8b86db..7c6236a68b 100644 --- a/api/js/etemplate/Et2Select/SearchMixin.ts +++ b/api/js/etemplate/Et2Select/SearchMixin.ts @@ -1114,7 +1114,7 @@ export const Et2WithSearchMixin = >(superclass */ public createFreeEntry(text : string) : boolean { - if(!this.validateFreeEntry(text)) + if(!text || !this.validateFreeEntry(text)) { return false; } @@ -1138,6 +1138,7 @@ export const Et2WithSearchMixin = >(superclass { this.value = text; } + this.requestUpdate("value"); // If we were overlapping edit inputbox with the value display, reset if(!this.readonly && this._activeControls?.classList.contains("novalue"))