I need to add some logic in order to decide whether the user can change the step by clicking the indicator ( the step number ) or not. I'm trying to find if there's some callback that fires every step change but also lets you prevent changing the step if needed.
thanks
You can control whether to navigate to step or not, by using
[editable]property on themat-tabelement.In above example, you cannot move to 2nd tab directly if
isEditableis false.Stackblitz