mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Ensure subflow instance credential property values are extracted
This commit is contained in:
parent
830e475969
commit
20a9c051be
@ -1100,7 +1100,7 @@ RED.subflow = (function() {
|
|||||||
input.val(val.value);
|
input.val(val.value);
|
||||||
break;
|
break;
|
||||||
case "cred":
|
case "cred":
|
||||||
input = $('<input type="password">').css('width','70%').appendTo(row);
|
input = $('<input type="password">').css('width','70%').attr('id', elId).appendTo(row);
|
||||||
if (node.credentials) {
|
if (node.credentials) {
|
||||||
if (node.credentials[tenv.name]) {
|
if (node.credentials[tenv.name]) {
|
||||||
input.val(node.credentials[tenv.name]);
|
input.val(node.credentials[tenv.name]);
|
||||||
@ -1346,7 +1346,7 @@ RED.subflow = (function() {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "cred":
|
case "cred":
|
||||||
item.value = input.val();
|
item.value = input.typedInput('value');
|
||||||
item.type = 'cred';
|
item.type = 'cred';
|
||||||
break;
|
break;
|
||||||
case "spinner":
|
case "spinner":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user