This is the UI-side function for creating a dynamic dropdown menu.
See also
renderMenu for the corresponding server-side function
and examples, and dropdownMenu for the corresponding function
for generating static menus.
Other menu outputs:
menuItemOutput(),
menuOutput(),
renderMenu(),
sidebarMenuOutput()
