diff --git a/api/js/etemplate/Et2Select/SearchMixin.ts b/api/js/etemplate/Et2Select/SearchMixin.ts index 8c8672a694..143237231a 100644 --- a/api/js/etemplate/Et2Select/SearchMixin.ts +++ b/api/js/etemplate/Et2Select/SearchMixin.ts @@ -276,7 +276,7 @@ export const Et2WithSearchMixin = >(superclass // Missing any of the required attributes? Don't change anything. // If readonly, skip it - if(!this.searchEnabled && !this.editModeEnabled || this.readonly) + if(!this.searchEnabled && !this.editModeEnabled && !this.allowFreeEntries || this.readonly) { return; } @@ -777,7 +777,7 @@ export const Et2WithSearchMixin = >(superclass // Make sure not to double-add if(!this.select_options.find(o => o.value == text)) { - this.select_options.push({ + this.__select_options.push({ value: text, label: text });