Topic: Create stepper dynamically

farawayslv free asked 4 years ago

Stepper should build depend on controls of FormArray after adding new controls. Controls added, but stepper not rebuild. HTML and TS: [2]:

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 4 years ago

We'll take a closer look at this problem.

Could you send me your project to me on my mail:

Best, Konrad.

farawayslv free commented 4 years ago

Thanks for attention. I'll create small project for reproduce and send it.

farawayslv free commented 4 years ago

Konrad, I can't send e-mail because it blocked as danger :))I made repository Link Removed

Konrad Stępień staff commented 4 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 free commented 4 years ago

Thanks :)) I going to use this case in my project so will be impatiently wait update.

electricbaby free commented 4 years ago

Is there any update on this issue as we are also facing this issue

Konrad Stępień staff commented 4 years ago

Unfortunately, this has not yet been entered. The solution still needs to be checked.

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: 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