From 49d3d84f3af85ea05423f42ce4d54cb4b1771f32 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 24 Jan 2023 10:25:01 -0700 Subject: [PATCH] Completely hide disabled nm filters, as before --- api/js/etemplate/et2_extension_nextmatch.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/js/etemplate/et2_extension_nextmatch.ts b/api/js/etemplate/et2_extension_nextmatch.ts index 42b49b8c06..67cadd1970 100644 --- a/api/js/etemplate/et2_extension_nextmatch.ts +++ b/api/js/etemplate/et2_extension_nextmatch.ts @@ -3674,6 +3674,11 @@ export class et2_nextmatch_header_bar extends et2_DOMWidget implements et2_INext { select.select_options = options; } + if(select.disabled) + { + // Don't just disable, hide completely + select.classList.add("hideme"); + } // Set value select.set_value(value);