# NR5: info popover does not support node.info()

**URL:** https://discourse.nodered.org/t/nr5-info-popover-does-not-support-node-info/101339
**Category:** Core Development
**Tags:** node-red-5
**Created:** [22 June 2026 22:27 UTC](https://discourse.nodered.org/t/nr5-info-popover-does-not-support-node-info/101339 "2026-06-22T22:27:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![gregorius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregorius/32/73816_2.png) [@gregorius](https://discourse.nodered.org/u/gregorius)
#### Post date: [22 June 2026 22:27 UTC](https://discourse.nodered.org/t/nr5-info-popover-does-not-support-node-info/101339/1 "2026-06-22T22:27:50Z")

</div>

Hi There,

Question: should the info popover support node.info(), i.e., that the info attribute of the node is a function?

Basically the info panel [supports](https://github.com/node-red/node-red/blob/85f2b71b42336657d90e6964f888f2c278ca5a8e/packages/node_modules/%40node-red/editor-client/src/js/ui/tab-info.js#L390-L400) `info` attribute being a function:

```js
            if (node._def && node._def.info) {
                var info = node._def.info;
                var textInfo = (typeof info === "function" ? info.call(node) : info);
                infoText = infoText + RED.utils.renderMarkdown(textInfo);
            }
            if (node.info) {
                infoText = infoText + RED.utils.renderMarkdown(node.info || "")
            }

```

But the [popover does not](https://github.com/node-red/node-red/blob/85f2b71b42336657d90e6964f888f2c278ca5a8e/packages/node_modules/%40node-red/editor-client/src/js/ui/view.js#L1294):

```js
RED.utils.renderInfoText(RED.utils.renderMarkdown(n.info), body, { collapseSections: false });

```

Is this going to stay like this? I actually have a use case for the info-as-function variation and am wondering what to do with the popover ...

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [23 June 2026 09:24 UTC](https://discourse.nodered.org/t/nr5-info-popover-does-not-support-node-info/101339/2 "2026-06-23T09:24:15Z")

</div>

@gregorius they should be consistent. Please raise an issue. The popover should contain the same info text as the sidebar.

---

<div class="post-metadata">

### Author: ![gregorius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregorius/32/73816_2.png) [@gregorius](https://discourse.nodered.org/u/gregorius)
#### Post date: [23 June 2026 09:37 UTC](https://discourse.nodered.org/t/nr5-info-popover-does-not-support-node-info/101339/3 "2026-06-23T09:37:18Z")

</div>

> <https://github.com/node-red/node-red/issues/5839>
>
> \### Current Behavior
> 
> Basically the info panel \[supports\](https://github.com/nod…e-red/node-red/blob/85f2b71b42336657d90e6964f888f2c278ca5a8e/packages/node\_modules/%40node-red/editor-client/src/js/ui/tab-info.js#L390-L400) \`info\` attribute being a function:
> 
> \`\`\`js
> if (node.\_def && node.\_def.info) {
> var info = node.\_def.info;
> var textInfo = (typeof info === "function" ? info.call(node) : info);
> infoText = infoText + RED.utils.renderMarkdown(textInfo);
> }
> if (node.info) {
> infoText = infoText + RED.utils.renderMarkdown(node.info || "")
> }
> \`\`\`
> 
> But the \[popover does not\](https://github.com/node-red/node-red/blob/85f2b71b42336657d90e6964f888f2c278ca5a8e/packages/node\_modules/%40node-red/editor-client/src/js/ui/view.js#L1294):
> 
> \`\`\`js
> RED.utils.renderInfoText(RED.utils.renderMarkdown(n.info), body, { collapseSections: false });
> \`\`\`
> 
> \[Forum\](https://discourse.nodered.org/t/nr5-info-popover-does-not-support-node-info/101339) question.
> 
> \### Expected Behavior
> 
> That the popover handles a info function and that the behaviour is consistent.
> 
> \### Steps To Reproduce
> 
> Need to create a node with an info function.
> 
> \### Example flow
> 
> 
> 
> 
> \### Environment
> 
> \- Node-RED version: Docker Tag 5.0.0
> \- Node.js version: Docker Tag 5.0.0
> \- npm version: Docker Tag 5.0.0
> \- Platform/OS: Docker Tag 5.0.0
> \- Browser: Firefox

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [7 July 2026 09:37 UTC](https://discourse.nodered.org/t/nr5-info-popover-does-not-support-node-info/101339/4 "2026-07-07T09:37:35Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
