Skip to content

Add completed event for stepper / steps #12908

Open

Description

Bug, feature request, or proposal:

Proposal

What is the expected behavior?

Optionally allow the consumer define if it wants to auto-advance an step when it completes (by using [completed] step property)

What is the current behavior?

Nothing happens as soon the step is marked as completed

What is the use-case or motivation for changing an existing behavior?

Use Observable based state such as NgRx stores, and in a more functional way allow set the stepper navigation based on state, now I have to subscribe to store and call navigation via an stepper instance in order to handle steps advance, too imperatively and also results in a awful timing issues because when stepper.next() is called and [completed] property update is on its way nothing happens.

Is there anything else we should know?

I'm willing to implement such feature. No breaking changes would be introduced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: cdk/stepperarea: material/stepperfeatureThis issue represents a new feature or feature request rather than a bug or bug fixgood first issueThis issue is a good place to start for first time contributors to the projecthelp wantedThe team would appreciate a PR from the community to address this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions