Angular stepper listen to step change event not working


Topic: Angular stepper listen to step change event not working

traffk asked 5 years ago

Expected behavior I should be able to subscribe to a step changed event from either the template (.html) or in the component (.ts) that emits newly active step

Actual behavior I tried subscribing to stepChange$. and stepChangeSubject but nothing happens

Resources (screenshots, code snippets etc.)


Arkadiusz Idzikowski staff answered 5 years ago

Unfortunately, in current version of the component there are no outputs that you could listen to. I will add this feature to our list, but we can't provide an ETA yet.


EytanD answered 5 years ago

Can we listen to step change ? or by clicking on the step nabber or by calling stepper.next/previous ?


Arkadiusz Idzikowski staff answered 5 years ago

We added stepChange event in version 8.0.0. Please try to use this one.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.5.4
  • Device: All Devices
  • Browser: All Browsers
  • OS: All
  • Provided sample code: No
  • Provided link: No