Topic: Angular Navbar documentation misses DropdownModule.forRoot()

gordysc pro asked 5 years ago


Expected behavior

Copy & pasting navbar example w/ mentioned API modules should work

Actual behavior

The dropdown on navbar example does nothing when clicked. I dove into the source code and found we have to call DropdownModule.forRoot() and import it into the respective component's module. For future consumers, can we add this to the navbar documentation? I didn't see it there (or did I miss something)?


Bartosz Termena staff answered 5 years ago


Dear @gordysc

You are absolutely right.

In link below I refer you to list with every module.

https://mdbootstrap.com/docs/angular/getting-started/modules/

We will correct wrong modules importing in docs, as soon as possible.

Best Regards, Bartosz.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.3.0
  • Device: Any
  • Browser: Chrome
  • OS: Mac OS X
  • Provided sample code: No
  • Provided link: No