diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js index 4f1435d26..70de4d9ac 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js @@ -248,6 +248,8 @@ RED.editor = (function() { var value = input.val(); if (defaults[property].hasOwnProperty("format") && defaults[property].format !== "" && input[0].nodeName === "DIV") { value = input.text(); + } else if (input.attr("type") === "checkbox") { + value = input.prop("checked"); } var valid = validateNodeProperty(node, defaults, property,value); if (((typeof valid) === "string") || !valid) {