Topic: Stepper Via JavaScript not working

Yutaka priority asked 4 years ago


I'm trying to use the Stepper via JavaScript and it does not work, I'm using the Basic example. I use the same code from the exemple...

const stepper = new mdb.Stepper(document.getElementById('stepper'));

In the HTML of the Basic Example I only change the attributes of the tag "ul". This is the result, the stepper does not look good.... The view change


Grzegorz Bujański staff answered 4 years ago


Hi.

I see that you also deleted the stepper class. Add it and the stepper will look good again.


Yutaka priority commented 4 years ago

Thanks xD........



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: 2.0.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No