Topic: How to set default tab when calling Cascading modal register / login from another component using mdbservice

Durgesh Gidwani free asked 4 years ago


I am calling Cascading modal register / login modal from another component(Header), How do I set the default active tab depending on from where it's been called login or register?

Resources (screenshots, code snippets etc.)


Arkadiusz Idzikowski staff answered 4 years ago


You can use setActiveTab of mdb-tabset component. We explained how to use tabs methods in our tabs documentation (switch to API section at the top of the page):

https://mdbootstrap.com/docs/angular/components/tabs/#a-methods

Cascading login/register modal is a premium component, and according to our system, you use MDB Free version.

Please, provide us a number of your order or registered email to confirm your access to MDB Pro components and premium support.

You can send it to me on email: a.idzikowski@mdbootstrap.com



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: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.1.1
  • Device: Zenbook UX305
  • Browser: Chrome
  • OS: Win 10
  • Provided sample code: No
  • Provided link: No