Skip to content

Detect "next" button click to use certain logic for the certain step. #63

@fromnt34

Description

@fromnt34

I need to make it that way: if you press the "next" button, the step is validated while using a certain logic. I know that there was already a similar problem but there as a solution was suggested to use the method beforeNextStep:

methods: {
    beforeNextStep({ currentStep }, next) {
    // Here your logic
    ........
    
    // Then next
    next();
}

How I can use a certain logic for a certain step in this case is not clear, since in currentStep there is only name and index.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions