diff --git a/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html b/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html index 747281ad0..cf4015f2e 100644 --- a/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html +++ b/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html @@ -609,6 +609,7 @@ default: !this.userProps ? 'none':'json', types: [typedInputNoneOpt, 'json'] }); + $("#node-config-input-userProps").typedInput('value',this.userProps); if (typeof this.keepalive === 'undefined') { this.keepalive = 15; $("#node-config-input-keepalive").val(this.keepalive); @@ -718,6 +719,10 @@ } if (v5) { + const userProps = $("#node-config-input-userProps").val().trim(); + if (userProps) { + this.userProps = userProps; + } this.birthMsg = saveV5Message("birth"); this.closeMsg = saveV5Message("close"); this.willMsg = saveV5Message("will");