Topic: I cannot use input mode in sidenav of angular mdb5

Nguyen Ba Tung premium asked 3 years ago

I use mdb5 angular but can't use change mode for sidenav

change mode

add module


Arkadiusz Idzikowski staff answered 3 years ago

This problem should be fixed in v1.0.0-beta4. Please update your version.

Arkadiusz Idzikowski staff answered 3 years ago

Thank you for reporting this problem, we will take a closer look at that. As a workaround for now please try to use setMode method instead of mode input. Use this code in your components TS file:

@ViewChild('sidenav') sidenav: MdbSidenavComponent;

ngAfterViewInit(): void { this.sidenav.setMode('push'); }

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: 3.2.0
  • Device: PC
  • Browser: Chrome
  • OS: Linux
  • Provided sample code: No
  • Provided link: No