Topic: Dynamically added Dropdown doesn't display options

Ian Gutierrez premium asked 1 year 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 1 year ago

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


Ian Gutierrez premium commented 1 year 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.

FREE CONSULTATION

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

Status

Opened

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