Skip to content

The filter doesn't work in the Quick Add dialog #5405

@kazuhitoyokoi

Description

@kazuhitoyokoi

Current Behavior

To add a new node from the Inject node port using the Quick Add dialog, the dialog has a node list with input ports the first time. However, when users reopen the dialog, it displays all nodes. This issue occurs because the filter handling of RED.typeSearch.show() does not work correctly.

Image

If a Node-RED user adds a new inject node after an existing inject node, the flow will be broken. The same issue occurs when adding a new debug node before an existing debug node.

Expected Behavior

The Quick Add dialog after the inject node, the dialog always has a node list with input ports.

Image

On the other hand, the dialog before the debug node always has a node list with output nodes.

Steps To Reproduce

  1. Add a inject node to the workspace
  2. Show the Quick Add dialog from the inject port to the other area by pressing the Command key and clicking
Image
  1. Reopen the Quick Add dialog by clicking on another area while holding down the Command key
Image

Example flow

Environment

  • Node-RED version: v4.1.2
  • Node.js version: v22.17.1
  • npm version: v10.9.2
  • Platform/OS: macOS 26.0.1 (25A362) on Apple M1 Macbook Air
  • Browser: Google Chrome Version 142.0.7444.176 (Official Build) (arm64)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions