-
Notifications
You must be signed in to change notification settings - Fork 3.8k
The filter doesn't work in the Quick Add dialog #5405
Copy link
Copy link
Closed
Labels
Description
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.
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.
On the other hand, the dialog before the debug node always has a node list with output nodes.
Steps To Reproduce
- Add a inject node to the workspace
- Show the Quick Add dialog from the inject port to the other area by pressing the Command key and clicking
- Reopen the Quick Add dialog by clicking on another area while holding down the Command key
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)
Reactions are currently unavailable