Topic: Sidenav Error
BekeWeb premium asked 1 year ago
MDB5 1.0.0 (First Final) not the Beta 5 Version
I followed the instructions on the page https://mdbootstrap.com/docs/b5/angular/navigation/sidenav/#section-sidenav-slim with no adjustment to the TS file.
I just copied the code completely into my html file of the component and when clicking a link for example the Catergory 2 link 2 I get the following error:
TypeError: child.querySelector is not a function at mdb-angular-ui-kit-sidenav.js:923 at NodeList.forEach () at MdbSidenavItemComponent.setActiveElement (mdb-angular-ui-kit-sidenav.js:918) at SafeSubscriber.next (mdb-angular-ui-kit-sidenav.js:873) at SafeSubscriber._tryOrUnsub (Subscriber.js:183) at SafeSubscriber.next (Subscriber.js:122) at Subscriber._next (Subscriber.js:72) at Subscriber.next (Subscriber.js:49) at TakeUntilSubscriber._next (Subscriber.js:72) at TakeUntilSubscriber.next (Subscriber.js:49)
Can anyone possibly help me out with this?
Translated with www.DeepL.com/Translator (free version)
This topic is closed.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Premium
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: MDB5 1.0.0-beta5
- Device: Mac
- Browser: Chrome
- OS: Big Sur
- Provided sample code: No
- Provided link: Yes