Ensure subflow instance credential property values are extracted

This commit is contained in:
Nick O'Leary 2024-06-26 11:49:37 +01:00
parent 830e475969
commit 20a9c051be
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -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]);
@ -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":