Topic: Create stepper dynamically
farawayslv asked 5 years ago
Stepper should build depend on controls of FormArray after adding new controls. Controls added, but stepper not rebuild. HTML and TS: http://prntscr.com/s1mxab [2]: http://prntscr.com/s1mxql
P.S. Made some tests and think that steps actually added but need refresh stepper. Because new steps shows only after tap next/previous step.Tried after add new step get stepper by ViewChild and use methods stepper.previous() and then set current step as active setNewActiveStep(index). Good work, if we have previous step :)) If current step is first, its not work.
Konrad Stępień staff answered 5 years ago
We'll take a closer look at this problem.
Could you send me your project to me on my mail: k.stepien@mdbootstrap.com?
Best, Konrad.
farawayslv commented 5 years ago
Thanks for attention. I'll create small project for reproduce and send it.
farawayslv commented 5 years ago
Konrad, I can't send e-mail because it blocked as danger :))I made repository Link Removed
Konrad Stępień staff commented 5 years ago
Hi @farawayslv,
Thank for your snippet. I found the problem and we have to add change detection for the stepper component.
We will try to update this component as soon as possible.
Best, Konrad.
farawayslv commented 5 years ago
Thanks :)) I going to use this case in my project so will be impatiently wait update.
electricbaby commented 5 years ago
Is there any update on this issue as we are also facing this issue
Konrad Stępień staff commented 5 years ago
Unfortunately, this has not yet been entered. The solution still needs to be checked.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 9.0.0
- Device: PC
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: Yes