If in a Slider node you select a numeric 0 valued item it returns in the message.payload an array[0] instead of the plain 0 value as expected. If the value is set as a-z string it correctly returns a "0" string.
I'm using dashboard 2.23.2.
It looks like a numeric 0 value fools the node as the option "Allow multiple selection from list" would have been checked (which is not in my case).
Of course I can avoid to use a numeric 0 item and change my code, but I think that this behaviour should be fixed and the node should return 0 as any other numeric values.
I attach the image and the (very simple) code snippet.
PS: can someone please explain me how I can enclose the flow code in one line without pasting in the post all lines or without uploading the file as I did?
[{"id":"38e5f8d3.fdc958","type":"debug","z":"461c9df1.6c1c94","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":610,"y":780,"wires":[]},{"id":"52b7a073.e534e","type":"ui_dropdown","z":"461c9df1.6c1c94","name":"","label":"Comfort Level","tooltip":"","place":"Select option","group":"f2fbe3e0.a8092","order":1,"width":"7","height":"1","passthru":true,"multiple":false,"options":[{"label":"Standard","value":3,"type":"num"},{"label":"High","value":1,"type":"num"},{"label":"Standby","value":0,"type":"num"}],"payload":"","topic":"","x":400,"y":780,"wires":[["38e5f8d3.fdc958"]]},{"id":"f2fbe3e0.a8092","type":"ui_group","z":"","name":"template2","tab":"5f806182.bf90a","order":2,"disp":false,"width":7,"collapse":false},{"id":"5f806182.bf90a","type":"ui_tab","z":"","name":"prova tavole-template","icon":"dashboard","order":6,"disabled":false,"hidden":false}]