Skip to content

Facing issue while adding a step #113

@MWaris97

Description

@MWaris97

I am trying to add a removed step but unable to do so, I am getting the following error. Please help me

Uncaught TypeError: Illegal invocation at MStepper.activateStep (mstepper.js:451:41) at clickPenaltyVariable (BondCreationPage.js:365:44) at HTMLButtonElement.onclick (Create:466:117)

Here is how I am doing it

Inside one function
removedPenaltyStep = stepperInstace.deactivateStep(document.getElementById("removableStep_1_9_2"));

Inside another function
stepperInstace.activateStep(removedPenaltyStep)

removedPenaltyStep is global

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions