From 696cbedc44443a271f41d84b9bb9ecdc1aa28603 Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Mon, 12 Aug 2024 16:03:54 -0400 Subject: [PATCH] dynamic bc also respond to hide: false (#3720) --- apps/dashboard/app/javascript/dynamic_forms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/app/javascript/dynamic_forms.js b/apps/dashboard/app/javascript/dynamic_forms.js index 04c86cf189..bc4d4b5628 100644 --- a/apps/dashboard/app/javascript/dynamic_forms.js +++ b/apps/dashboard/app/javascript/dynamic_forms.js @@ -467,7 +467,7 @@ function updateVisibility(event, changeId) { // safe to access directly? const hide = hideLookup[id].get(changeId, val); - if(hide === undefined && !initializing) { + if((hide === false) || (hide === undefined && !initializing)) { changeElement.show(); }else if(hide === true) { changeElement.hide();