mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 04:46:42 +02:00
Select + search: don't try to open search when readonly
This commit is contained in:
@@ -471,6 +471,10 @@ export const Et2WithSearchMixin = <T extends Constructor<LitElement>>(superclass
|
||||
|
||||
handleMenuShow()
|
||||
{
|
||||
if(this.readonly)
|
||||
{
|
||||
return;
|
||||
}
|
||||
super.handleMenuShow();
|
||||
|
||||
if(this.searchEnabled || this.allowFreeEntries)
|
||||
@@ -490,6 +494,10 @@ export const Et2WithSearchMixin = <T extends Constructor<LitElement>>(superclass
|
||||
|
||||
handleMenuHide()
|
||||
{
|
||||
if(this.readonly)
|
||||
{
|
||||
return;
|
||||
}
|
||||
super.handleMenuHide();
|
||||
if(this.searchEnabled || this.allowFreeEntries)
|
||||
{
|
||||
|
Reference in New Issue
Block a user