Topic: Help! I cannot get even the simplest dropdown example to work!

sjlearmonth free asked 7 months ago

I don't understand how to get the first example dropdown code to work at I need to write some Javascript? priority commented 7 months ago

And without ES :)To enable the dropdown functionality, add data-mdb-toggle="dropdown" to your dropdown button in your HTML code. This attribute activates the dropdown feature for the button.


Kamila Pieńkowska staff commented 7 months ago

That worked up to the version 6.4.2 From version 7 init attribute is data-mdb-dropdown-init

Kamila Pieńkowska staff answered 7 months ago

If you use version 7 all you need to do is copy HTML from the code snippet. JS is needed only for ES import.

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

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 7.0.0
  • Device: macBookPro
  • Browser: Google Chrome
  • OS: macOS
  • Provided sample code: No
  • Provided link: Yes