Open Exocomp opened 5 years ago
This is potentially a solution for #14067
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.
Find more details about Angular's feature request process in our documentation.
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
Any update on this?
Please describe the feature you would like to request.
The interacted field of the matStep (https://material.angular.io/components/stepper/api) is currently not decorated with @Input() therefore it is not possible to use property binding to modify it.
What is the use-case or motivation for this proposal?
Calling the Stepper Previous() or Next() method ends up calling "CdkStepper.prototype._anyControlsInvalidOrPending" where there is a check for "!step.interacted". I have a use case where I populate the steps and then set a particular step as the selected step. At that point when I call next or previous since the steps interacted field is false by default I'm not able to go backward or forward through the stepper.
At the moment my only way to solve this issue is to iterate the stepper's "_steps" and set the "interacted" field to true. This is not an ideal solution.
Is there anything else we should know?
Version: 7.2.0