From d8d842962229610c718d529bcc3b117d8b972e8c Mon Sep 17 00:00:00 2001 From: ralf Date: Tue, 13 Sep 2022 10:17:59 +0200 Subject: [PATCH] an other fix for 4c00b812ee0e27cdd43fb91cac6c9e75e896519e fixing error when trying to reply --- api/js/etemplate/Et2Select/SearchMixin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/Et2Select/SearchMixin.ts b/api/js/etemplate/Et2Select/SearchMixin.ts index 59f3ec6219..ec80048da7 100644 --- a/api/js/etemplate/Et2Select/SearchMixin.ts +++ b/api/js/etemplate/Et2Select/SearchMixin.ts @@ -409,7 +409,7 @@ export const Et2WithSearchMixin = >(superclass protected get _activeControls() { - return this.shadowRoot.querySelector(".search_input") || + return this.shadowRoot?.querySelector(".search_input") || this.querySelector(".search_input"); }