# Dropdown node - what am I missing

**URL:** https://discourse.nodered.org/t/dropdown-node-what-am-i-missing/95935
**Category:** General
**Tags:** node-red-dashboard
**Created:** [12 March 2025 03:36 UTC](https://discourse.nodered.org/t/dropdown-node-what-am-i-missing/95935 "2025-03-12T03:36:54Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![itolond](https://avatars.discourse-cdn.com/v4/letter/i/c37758/32.png) [@itolond](https://discourse.nodered.org/u/itolond)
#### Post date: [12 March 2025 03:36 UTC](https://discourse.nodered.org/t/dropdown-node-what-am-i-missing/95935/1 "2025-03-12T03:36:54Z")

</div>

[Newbie] Following a video guide on how to set up a dropdown in Node-Red seemed very straightforward, as I am using a static list in the dropdown. Using "MSG.Dropdown"

However, I see the MSG output via the debug but with 'undefined'. When I change to "payload", it works fine - I assume I need to define the MSG."XXXX"

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [12 March 2025 08:47 UTC](https://discourse.nodered.org/t/dropdown-node-what-am-i-missing/95935/2 "2025-03-12T08:47:34Z")

</div>

Can you post a very simple example that shows the problem please. Construct a flow just consisting of, for example, inject nodes and a dropdown node and export it and paste it here. Then we can see exactly what you are doing.

---

<div class="post-metadata">

### Author: ![itolond](https://avatars.discourse-cdn.com/v4/letter/i/c37758/32.png) [@itolond](https://discourse.nodered.org/u/itolond)
#### Post date: [12 March 2025 09:30 UTC](https://discourse.nodered.org/t/dropdown-node-what-am-i-missing/95935/4 "2025-03-12T09:30:41Z")

</div>

Error - (Debug)

[node: dropbox](http://192.168.0.2:1880/#)msg.StatusIndicator : undefined

undefined

---

<div class="post-metadata">

### Author: ![itolond](https://avatars.discourse-cdn.com/v4/letter/i/c37758/32.png) [@itolond](https://discourse.nodered.org/u/itolond)
#### Post date: [12 March 2025 09:32 UTC](https://discourse.nodered.org/t/dropdown-node-what-am-i-missing/95935/5 "2025-03-12T09:32:34Z")

</div>

```auto
[
    {
        "id": "ca2d49bace6edc8d",
        "type": "ui_dropdown",
        "z": "0ca665b062017a5c",
        "name": "Dropdown",
        "label": "status drop down example",
        "tooltip": "",
        "place": "Select option",
        "group": "585234b827bfcc73",
        "order": 11,
        "width": 0,
        "height": 0,
        "passthru": false,
        "multiple": false,
        "options": [
            {
                "label": "Identify",
                "value": "StatusIndicatorIdentify",
                "type": "str"
            },
            {
                "label": "Strobe",
                "value": "StatusIndicatorStrobe",
                "type": "str"
            },
            {
                "label": "RedFlash",
                "value": "StatusIndicatorRedFlash",
                "type": "str"
            },
            {
                "label": "WhiteFlash",
                "value": "StatusIndicatorWhiteFlash",
                "type": "str"
            }
        ],
        "payload": "",
        "topic": "StatusIndicator",
        "topicType": "msg",
        "className": "",
        "x": 106,
        "y": 248,
        "wires": [
            [
                "56c4f8b31bdc16d7"
            ]
        ]
    },
    {
        "id": "585234b827bfcc73",
        "type": "ui_group",
        "name": "TESTENV",
        "tab": "1fe70ca413e94732",
        "order": 1,
        "disp": true,
        "width": 6,
        "collapse": false,
        "className": ""
    },
    {
        "id": "1fe70ca413e94732",
        "type": "ui_tab",
        "name": "TEST",
        "icon": "dashboard",
        "disabled": false,
        "hidden": false
    }
]

```

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [12 March 2025 09:48 UTC](https://discourse.nodered.org/t/dropdown-node-what-am-i-missing/95935/6 "2025-03-12T09:48:34Z")

</div>

> [@itolond](#):
>
> MSG.Dropdown"
> 
> However, I see the MSG output via the debug but with 'undefined'. When I change to "payload", it works fine - I assume I need to define the MSG."XXX

There is no msg.dropdown in node-red-dashboard dropdown.

The output of the dropdown is always in msg.payload.

---

<div class="post-metadata">

### Author: ![itolond](https://avatars.discourse-cdn.com/v4/letter/i/c37758/32.png) [@itolond](https://discourse.nodered.org/u/itolond)
#### Post date: [13 March 2025 00:15 UTC](https://discourse.nodered.org/t/dropdown-node-what-am-i-missing/95935/7 "2025-03-13T00:15:16Z")

</div>

really - must ter msg always be "payload" regardless?

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [13 March 2025 06:56 UTC](https://discourse.nodered.org/t/dropdown-node-what-am-i-missing/95935/8 "2025-03-13T06:56:12Z")

</div>

The output is mg.payload, you can move the output to any property you like after the dropdown node.

---

<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: [27 March 2025 06:56 UTC](https://discourse.nodered.org/t/dropdown-node-what-am-i-missing/95935/9 "2025-03-27T06:56:46Z")

</div>

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