diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js index b5d82b830..7cbad2f05 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js @@ -1004,7 +1004,7 @@ this.uiSelect.hide(); }, disable: function(val) { - if(val === undefined || !!val === true) { + if(val === undefined || !!val ) { this.uiSelect.attr("disabled", "disabled"); } else { this.uiSelect.attr("disabled", null); //remove attr