Topic: Dynamically added Dropdown doesn't display options

Ian Gutierrez premium asked 2 years ago

How do I dynamically add a dropdown? With bootstrap5 it works fine but if I load the mdb.js it will create a dropdown that doesn't show the options. When I inspect the element I can see my options are there they just aren't triggered to show.

Michał Duszak staff commented 2 years ago

Can you please reproduce this issue in a snippet so that I can see what's going on there?

Ian Gutierrez premium commented 2 years ago

I was unable to reproduce in a snippet, but when I changed from 3.4 to 3.6 it fixed the issue. Thanks for your quick response.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.4.0
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: No