From 291389b6dd4d1404ec3f4f2ea99f425298b211fd Mon Sep 17 00:00:00 2001 From: Joe Pavitt Date: Tue, 12 Dec 2023 16:09:38 +0000 Subject: [PATCH] Reference issue re: full msg not sending in this.send() for ui-template --- docs/nodes/widgets/ui-template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/nodes/widgets/ui-template.md b/docs/nodes/widgets/ui-template.md index cf5fbc8e2..193c352ca 100644 --- a/docs/nodes/widgets/ui-template.md +++ b/docs/nodes/widgets/ui-template.md @@ -43,7 +43,7 @@ You have access to a number of built-in variables in your `ui-template` node: We also offer some helper functions for the Node-RED integration too: -- `this.send` - Send a message to the Node-RED flow. +- `this.send` - Send a message to the Node-RED flow. Currently limited to sending msg.payload only - [Issue #427](https://github.com/FlowFuse/node-red-dashboard/issues/427) - `this.$socket.on('msg-input' + this.id, (msg) = { ... })` - will listen to any messages received by your `ui-template `node and react accordingly. ### Example (Raw JavaScript)