Skip to content

Commit

Permalink
Merge pull request node-red#4802 from node-red/4801-fix-sf-instance-c…
Browse files Browse the repository at this point in the history
…redentials

Ensure subflow instance credential property values are extracted
  • Loading branch information
knolleary authored Jun 26, 2024
2 parents 830e475 + 20a9c05 commit 52bbd82
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ RED.subflow = (function() {
input.val(val.value);
break;
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[tenv.name]) {
input.val(node.credentials[tenv.name]);
Expand Down Expand Up @@ -1346,7 +1346,7 @@ RED.subflow = (function() {
}
break;
case "cred":
item.value = input.val();
item.value = input.typedInput('value');
item.type = 'cred';
break;
case "spinner":
Expand Down

0 comments on commit 52bbd82

Please sign in to comment.