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)
https://mdbootstrap.com/snippets/standard/npt/4118705
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: https://mdbootstrap.com/snippets/standard/grzegorz-bujanski/4129386.
I am using the CSS class instead of id
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- 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