FlowFuse / node-red-dashboard

https://dashboard.flowfuse.com
Apache License 2.0
206 stars 49 forks source link

Option to control when data is emitted from Dropdown node (Multi-Select Mode) #1457

Open fougner33 opened 1 week ago

fougner33 commented 1 week ago

Description

In Dashboard 2.0, the dropdown node now emits an array of values for each individual selection or deselection made within the dropdown menu. This can lead to multiple emissions, which may be undesirable in certain scenarios, such as querying a database based on the multi-selection.

I am requesting an option that enables the same behaviour as in Dashboard-1, where the dropdown node in multi-select mode emitted an array of selected values only after the dropdown menu was closed (i.e., when clicking outside the menu). This behaviour allowed users to complete their selection without triggering multiple emissions.

Option 1 (default): Emit values at every selection/deselection (current behaviour in Dashboard 2.0) Option 2: Emit values only when the dropdown menu is closed/loses focus (previous behaviour in Dashboard-1)

Have you provided an initial effort estimate for this issue?

I can not provide an initial effort estimate

joepavitt commented 1 week ago

Tackled by @bartbutenaers in #1458