Skip to content

Commit

Permalink
dynamic bc also respond to hide: false (#3720)
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom authored Aug 12, 2024
1 parent 18f4a94 commit 696cbed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dashboard/app/javascript/dynamic_forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 696cbed

Please sign in to comment.