I understand that in order to ouptut the value of the DropdownMenu I must get the DropdownMenuItem ID.
When I select a value from the Dropdown Menu and press the Generate button, how can I output the value of the DropdownMenu selected item into the empty DIV?
In addition the code errors mentioned by @AIMPED , I think dbc.DropdownMenue is not the appropriate component for your use case. This component is used mainly for navigation rather than input, which is what you’re trying to do here. The dcc.Dropdown is the more appropriate component here. I modified your code to use the dcc.Dropdown and it now works as you’re expecting it to.
This is true, it does throw an error. This is why I am asking how to get [‘MSFT’, ‘ADB’, ‘ABBV’, ‘A’, ‘TXN’, ‘MCHP’] the id when you select it from the DropdownMenu.
I did it with dcc.Dropdown, but I wanted to see if it is possible to get it done with DropdownMenu. But now I got your point its more for navigation not for selecting objects.