Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtered multiselect in dashboard dropdown node returns nothing on strings #749

Closed
DoIt79 opened this issue Jan 17, 2022 · 1 comment
Closed
Labels

Comments

@DoIt79
Copy link

DoIt79 commented Jan 17, 2022

I'm using actual NodeRed Dashboard (NodeRed 2.1.5 and node-red-dashboard 3.1.4 running on Windows 10. Browser Chromium).

I have another issue with the filter in the dropdown node - find the flow below.

If I filter by numbers -> everything works fine now - thanks again for the fast fix :-) .
If I filter by string -> I cannot select all the entries by the checkbox next to the filter.

You can see the behavior in the video below.

ValueNotString

The upper dropdown is the one I prefer - values with descriptions.
I tried also the lower one - descritpion in the values as a workaround - but also this one doesn't work.

[{"id":"c75f2d8f71376853","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"5a6207c40a1ca148","type":"ui_dropdown","z":"c75f2d8f71376853","name":"","label":"","tooltip":"","place":"Select option","group":"72a23d51cdf5f70e","order":0,"width":0,"height":0,"passthru":true,"multiple":true,"options":[{"label":"50 - KBCXX02XF","value":"50","type":"str"},{"label":"291 - UWSRX02AF","value":"291","type":"str"},{"label":"307 - AUFGX01AF","value":"307","type":"str"},{"label":"544 - REISX01AF","value":"544","type":"str"},{"label":"564 - REISX01AF","value":"564","type":"str"},{"label":"770 - UEBEX02AF","value":"770","type":"str"},{"label":"803 - UEBEX04AF","value":"803","type":"str"},{"label":"819 - WBMGX02AF","value":"819","type":"str"},{"label":"1075 - WBMGX03AF","value":"1075","type":"str"},{"label":"1312 - LICHX01AF","value":"1312","type":"str"}],"payload":"","topic":"topic","topicType":"msg","className":"","x":880,"y":220,"wires":[["506b67223c1af298"]]},{"id":"506b67223c1af298","type":"debug","z":"c75f2d8f71376853","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1080,"y":220,"wires":[]},{"id":"244fd94eecb7cf6e","type":"ui_dropdown","z":"c75f2d8f71376853","name":"","label":"","tooltip":"","place":"Select option","group":"72a23d51cdf5f70e","order":0,"width":0,"height":0,"passthru":true,"multiple":true,"options":[{"label":"","value":"50 - KBCXX02XF","type":"str"},{"label":"","value":"291 - UWSRX02AF","type":"str"},{"label":"","value":"307 - AUFGX01AF","type":"str"},{"label":"","value":"544 - REISX01AF","type":"str"},{"label":"","value":"564 - REISX01AF","type":"str"},{"label":"","value":"770 - UEBEX02AF","type":"str"},{"label":"","value":"803 - UEBEX04AF","type":"str"},{"label":"","value":"819 - WBMGX02AF","type":"str"},{"label":"","value":"1075 - WBMGXSPS03AF","type":"str"},{"label":"","value":"1312 - LICHXRTU01AF","type":"str"}],"payload":"","topic":"topic","topicType":"msg","className":"","x":880,"y":320,"wires":[["a78b31700be7c422"]]},{"id":"a78b31700be7c422","type":"debug","z":"c75f2d8f71376853","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1080,"y":320,"wires":[]},{"id":"72a23d51cdf5f70e","type":"ui_group","name":"Default","tab":"2dc644643421dbeb","order":1,"disp":true,"width":"6","collapse":false,"className":""},{"id":"2dc644643421dbeb","type":"ui_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]
@dceejay
Copy link
Member

dceejay commented Jan 17, 2022

Well re != RE apart from when it does... so yes - small wrinkle there to make the select do the same as the search.

@dceejay dceejay added the bug label Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants