mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
8a2ae6c480
commit
ec392a7f9a
@ -979,6 +979,8 @@ RED.editor = (function() {
|
|||||||
input = $("#node-config-input-"+d);
|
input = $("#node-config-input-"+d);
|
||||||
if (input.attr('type') === "checkbox") {
|
if (input.attr('type') === "checkbox") {
|
||||||
newValue = input.prop('checked');
|
newValue = input.prop('checked');
|
||||||
|
} else if ("format" in configTypeDef.defaults[d] && configTypeDef.defaults[d].format !== "" && input[0].nodeName === "DIV") {
|
||||||
|
newValue = input.text();
|
||||||
} else {
|
} else {
|
||||||
newValue = input.val();
|
newValue = input.val();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user