FlowFuse / FlowFuse/node-red-dashboard

ui-dropdown doesnt pass correct value for multiple select options - and when msg pass through is enabled.

Open
#993 2 comments 0 reactions 0 assignees View on GitHub
needs-triage size:S type:bug
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 23h
Merged PRs (30d)
24

Description

### Current Behavior

For other dashboard nodes - when the nodes are marked allow msg to pass through they retain the msg.payload values
For ui-drop dashboard node - when msg.payload is a string - the node retains the msg.paylod value (the nodes are marked allow msg to pass through )

For ui-drop dashboard node - when msg.payload is a an array and multiple selection is set to true- the node doesnt retains the msg.paylod value

### Expected Behavior

For ui-drop dashboard node - when msg.payload is a an array and multiple selection is set to true- the node should retains the msg.paylod value - similar to other nodes which retain msg.payload when "allow msg to act as pass through is selected"

### Steps To Reproduce

Create a ui dropdown node with multiple select on and allow msg to pass through.
Pass a message with msg.paylod as array (multiple selection).
Check the result.

### Environment

- Dashboard version:1.11
- Node-RED version:3.1.9
- Node.js version:20.10.0
- npm version:10.2.3
- Platform/OS:Windows
- Browser:Chrome

### Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.