Topic: SideNav Content Dynamic

NPT premium asked 2 years ago

Expected behavior Adding dynamic content to Sidenav works on main lavel. Sub level seems to give some issues.

Actual behavior Main level woking sub level not shown.

Resources (screenshots, code snippets etc.) Snippet showing how the behavior is expected and behavior using dynamic content. What am I missing and where do I find it in documentation (For the next time)

Grzegorz Bujański staff answered 2 years ago

unfortunately for Sidenav to work properly we have to set our own id. It overwrites the id you added. I modified the snippet you sent to make it work:

I am using the CSS class instead of id

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: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 4.2.0
  • Device: No
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes