mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Check for null config properties in editor before overwritting them
This commit is contained in:
parent
3008e4e60f
commit
23087447f1
@ -944,7 +944,7 @@ RED.editor = (function() {
|
||||
} else {
|
||||
newValue = input.val();
|
||||
}
|
||||
if (newValue !== editing_config_node[d]) {
|
||||
if (newValue != null && newValue !== editing_config_node[d]) {
|
||||
if (editing_config_node._def.defaults[d].type) {
|
||||
if (newValue == "_ADD_") {
|
||||
newValue = "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user