diff --git a/api/js/etemplate/Et2Select/SearchMixin.ts b/api/js/etemplate/Et2Select/SearchMixin.ts index 769e92d0dc..0578c7b6ae 100644 --- a/api/js/etemplate/Et2Select/SearchMixin.ts +++ b/api/js/etemplate/Et2Select/SearchMixin.ts @@ -471,6 +471,10 @@ export const Et2WithSearchMixin = >(superclass handleMenuShow() { + if(this.readonly) + { + return; + } super.handleMenuShow(); if(this.searchEnabled || this.allowFreeEntries) @@ -490,6 +494,10 @@ export const Et2WithSearchMixin = >(superclass handleMenuHide() { + if(this.readonly) + { + return; + } super.handleMenuHide(); if(this.searchEnabled || this.allowFreeEntries) {