Help creating a q-stepper with v-for #9535
-
|
Hi everyone! I'm wondering if you could help me out with an issue i'm stuck with. I'm trying to create a stepper dynamically from a list of products coming from vuex. When I try the example in the documentation, hard coding the steps in, it all works well. But when I try to generate the same steps dynamically with a v-for based on that list, the stepper doesn't display correctly anymore. It seems to display as if it had the vertical prop set, but it doesn't. Like in this image: This is how it looks hard coding each step manually: And this is my code at the moment: Would you know what am I doing wrong? Could you point me in the right direction maybe? Thank you very much in advance. Cheers! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
You need to place v-for in q-step instead of q-stepper, so that it will loop steps |
Beta Was this translation helpful? Give feedback.


You need to place v-for in q-step instead of q-stepper, so that it will loop steps