Hope this helps.
current flow
[{"id":"548d67a6.28d68","type":"tab","label":"MEEKI TEST","disabled":false,"info":""},{"id":"27d7a3.bff6685e","type":"function","z":"548d67a6.28d68","name":"create an array of objects","func":"\nmsg.payload = \n[ \n {\"channel\":\"1A6\"},\n {\"channel\":\"1B6\"},\n {\"channel\":\"1C6\"},\n {\"channel\":\"1D6\"}\n];\nreturn msg;","outputs":1,"noerr":0,"x":770,"y":180,"wires":[["c26ba790.1382a8"]]},{"id":"a34cc810.384d28","type":"debug","z":"548d67a6.28d68","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1130,"y":260,"wires":[]},{"id":"c26ba790.1382a8","type":"function","z":"548d67a6.28d68","name":"format array of objects for dropdown in dashboard","func":"//Reformat array to work with dashboard\nvar reformattedArray = msg.payload.map(obj =>{\n //declare the reformatted object\n var rObj = {};\n //format it for drop down\n //\"label\":\"value\" is the format so lets move the value to the label and add some txt as well\n //you can also replce the txt with a var if you want\n rObj[obj.channel+\" text you want to add\"] = obj.channel;\n return rObj;\n});\nmsg.payload = reformattedArray;\nreturn msg;\n","outputs":1,"noerr":0,"x":1110,"y":180,"wires":[["92aa60c.a2ca3a"]]},{"id":"92aa60c.a2ca3a","type":"change","z":"548d67a6.28d68","name":"","rules":[{"t":"set","p":"options","pt":"msg","to":"payload","tot":"msg"},{"t":"delete","p":"payload","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":760,"y":260,"wires":[["a240a9f9.81f17"]]},{"id":"a240a9f9.81f17","type":"ui_dropdown","z":"548d67a6.28d68","name":"","label":"","tooltip":"","place":"Select Value From Database","group":"cec06512.a43738","order":0,"width":0,"height":0,"passthru":false,"options":[{"label":"","value":"","type":"str"}],"payload":"","topic":"","x":980,"y":260,"wires":[["a34cc810.384d28"]]},{"id":"532aaeea.6c868","type":"change","z":"548d67a6.28d68","name":"","rules":[{"t":"delete","p":"payload","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":420,"y":180,"wires":[["27d7a3.bff6685e","b6a44462.ff9ee"]]},{"id":"1ab11e52.667262","type":"switch","z":"548d67a6.28d68","name":"","property":"name","propertyType":"msg","rules":[{"t":"eq","v":"Meeki Test","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":250,"y":180,"wires":[["532aaeea.6c868"]]},{"id":"6bf567b8.7c91","type":"ui_ui_control","z":"548d67a6.28d68","name":"","events":"change","x":120,"y":180,"wires":[["1ab11e52.667262"]]},{"id":"6badeb6e.36273c","type":"comment","z":"548d67a6.28d68","name":"Trigger to populate list when user opens menu tab","info":"","x":290,"y":120,"wires":[]},{"id":"b6a44462.ff9ee","type":"function","z":"548d67a6.28d68","name":"create an array of objects","func":"\nmsg.payload = \n[ \n {\"channel\":\"1A6\"},\n {\"channel\":\"1B6\"},\n {\"channel\":\"1C6\"},\n {\"channel\":\"1D6\"}\n];\nreturn msg;","outputs":1,"noerr":0,"x":770,"y":440,"wires":[["e1bed24c.5255a8"]]},{"id":"bdd7eaec.933898","type":"comment","z":"548d67a6.28d68","name":"Dropdown with formatting","info":"","x":910,"y":120,"wires":[]},{"id":"358443d4.f8ee04","type":"comment","z":"548d67a6.28d68","name":"Dropdown without formatting","info":"","x":920,"y":380,"wires":[]},{"id":"e1bed24c.5255a8","type":"change","z":"548d67a6.28d68","name":"","rules":[{"t":"set","p":"options","pt":"msg","to":"payload","tot":"msg"},{"t":"delete","p":"payload","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":760,"y":500,"wires":[["b425c21d.814518"]]},{"id":"b425c21d.814518","type":"ui_dropdown","z":"548d67a6.28d68","name":"","label":"","tooltip":"","place":"Select Value From Database","group":"810d7da4.fff398","order":0,"width":0,"height":0,"passthru":false,"options":[{"label":"","value":"","type":"str"}],"payload":"","topic":"","x":940,"y":500,"wires":[["59f0a5e5.aa864c"]]},{"id":"59f0a5e5.aa864c","type":"debug","z":"548d67a6.28d68","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1090,"y":500,"wires":[]},{"id":"cec06512.a43738","type":"ui_group","z":"","name":"Formatted","tab":"b4be09eb.9c2dc","disp":true,"width":"6","collapse":false},{"id":"810d7da4.fff398","type":"ui_group","z":"","name":"Un-Formatted","tab":"b4be09eb.9c2dc","disp":true,"width":"6","collapse":false},{"id":"b4be09eb.9c2dc","type":"ui_tab","z":"","name":"Meeki Test","icon":"dashboard","order":6,"disabled":false,"hidden":false}]