Error on initializing stepper
lcsqlpete opened this issue · 3 comments
lcsqlpete commented
I'm getting error "Cannot read property 'classlist' of null" on the line that creates a stepper instance. My code is:
$(document).ready(function () { var stepper = new Stepper($('.bs-stepper')[0]) })
There is a div with class bs-stepper on the page. The stepper is within a bootstrap modal in case that matters.
lcsqlpete commented
Never mind, fixed it.
sky7st commented
Never mind, fixed it.
I have the same issue but I am using vue.js.
Could you tell me how to fix the bug?
Johann-S commented
@sky7st if you can provide a live example using CodePen/JS Bin or Stackblitz and report back with your link I can help you 😉