Disable a dropdown node on the basis of a switch node result

Her is an example of switching tabs and hiding and showing groups.

[{"id":"5b66b624f2825a62","type":"ui_button","z":"bf9e1e33.030598","name":"","group":"b78a81a5.aff9e","order":1,"width":"3","height":"1","passthru":false,"label":"goto tab 3","tooltip":"","color":"","bgcolor":"","className":"","icon":"","payload":"1","payloadType":"num","topic":"Inserimento Date Controllo","topicType":"str","x":330,"y":2800,"wires":[["24fa6dea16207b0b"]]},{"id":"24fa6dea16207b0b","type":"function","z":"bf9e1e33.030598","name":"Set msg payload","func":"\n/* ui-control payload */\nmsg.payload = {\"tabs\":{\"hide\":[\"Tab_2\"],\"show\":[\"Tab_3\"]}} // hide home tab show tab2\nnode.send(msg);\n\n    \n    \n msg.payload = {\"group\":{\"hide\":[\"Tab_3_Group_2\"],\"show\":[]}} // hide Group_1 on tab2\n node.send(msg)\n \n msg.payload = \"Tab 3\" ///goto tab 3\n node.send(msg)\nreturn null;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":500,"y":2800,"wires":[["23fb4653316f2558"]]},{"id":"23fb4653316f2558","type":"ui_ui_control","z":"bf9e1e33.030598","name":"Go to Inserimento Date","events":"all","x":770,"y":2800,"wires":[[]]},{"id":"426a5f49.fb1e98","type":"function","z":"bf9e1e33.030598","name":"Set msg payload","func":"msg.payload = {\"tabs\":{\"hide\":[\"Tab_3\"],\"show\":[\"Tab_2\"]}} // hide tab 3 and show tab 2\nnode.send(msg);\n\nmsg.payload = {\"group\":{\"hide\":[\"Tab_2_Group_2\"],\"show\":[\"Tab_2_Group_2\"]}} // show Group_1 on tab2\nnode.send(msg);\n \nmsg.payload = \"Tab 2\"; // goto home tab\nnode.send(msg);\nnode.done();\nreturn null;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":480,"y":2980,"wires":[["23fb4653316f2558"]]},{"id":"f5e80077.6065e","type":"function","z":"bf9e1e33.030598","name":"Set msg payload","func":"msg.payload = {\"group\":{\"hide\":[],\"show\":[\"Tab_3_Group_2\"]}} // show Group_2 on tab3\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":520,"y":3020,"wires":[["23fb4653316f2558"]]},{"id":"a96f6a0f.a924e8","type":"function","z":"bf9e1e33.030598","name":"Set msg payload","func":"msg.payload = {\"group\":{\"hide\":[],\"show\":[\"Tab_2_Group_2\"]}} // show Group_2 on tab2\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":520,"y":2840,"wires":[["23fb4653316f2558"]]},{"id":"7ecfcce7.639f84","type":"ui_button","z":"bf9e1e33.030598","name":"","group":"187a0d10.a44d4b","order":1,"width":0,"height":0,"passthru":false,"label":"goto tab 2","tooltip":"","color":"","bgcolor":"","className":"","icon":"","payload":"1","payloadType":"str","topic":"topic","topicType":"msg","x":290,"y":2980,"wires":[["426a5f49.fb1e98"]]},{"id":"e67f361e.73","type":"ui_button","z":"bf9e1e33.030598","name":"","group":"187a0d10.a44d4b","order":1,"width":0,"height":0,"passthru":false,"label":"show group 2","tooltip":"","color":"","bgcolor":"","className":"","icon":"","payload":"1","payloadType":"str","topic":"topic","topicType":"msg","x":330,"y":3020,"wires":[["f5e80077.6065e"]]},{"id":"29474bad.494aa4","type":"ui_button","z":"bf9e1e33.030598","name":"","group":"b78a81a5.aff9e","order":2,"width":0,"height":0,"passthru":false,"label":"show group 2","tooltip":"","color":"","bgcolor":"","className":"","icon":"","payload":"1","payloadType":"str","topic":"topic","topicType":"msg","x":310,"y":2840,"wires":[["a96f6a0f.a924e8"]]},{"id":"e3c3bd4b.250da8","type":"ui_text","z":"bf9e1e33.030598","group":"977b1749.a3ea48","order":0,"width":0,"height":0,"name":"","label":"text","format":"tab 2  group 2 text","layout":"row-spread","className":"","x":530,"y":2740,"wires":[]},{"id":"1fc2649b.1f8903","type":"ui_text","z":"bf9e1e33.030598","group":"a9448416.fe8fa","order":0,"width":0,"height":0,"name":"","label":"text","format":"tab 3 group 2  text","layout":"row-spread","className":"","x":530,"y":2880,"wires":[]},{"id":"b78a81a5.aff9e","type":"ui_group","name":"Group 1","tab":"df32c4cd.bf03e","order":1,"disp":true,"width":6},{"id":"187a0d10.a44d4b","type":"ui_group","name":"Group 1","tab":"8abb3dd0.ddf87","order":1,"disp":true,"width":"6","collapse":false,"className":""},{"id":"977b1749.a3ea48","type":"ui_group","name":"Group 2","tab":"df32c4cd.bf03e","order":2,"disp":true,"width":6},{"id":"a9448416.fe8fa","type":"ui_group","name":"Group 2","tab":"8abb3dd0.ddf87","order":2,"disp":true,"width":6},{"id":"df32c4cd.bf03e","type":"ui_tab","name":"Tab 2","icon":"dashboard","order":6,"disabled":false,"hidden":false},{"id":"8abb3dd0.ddf87","type":"ui_tab","name":"Tab 3","icon":"dashboard","order":8,"disabled":false,"hidden":false}]