Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing issue while adding a step #113

Open
MWaris97 opened this issue Aug 14, 2023 · 0 comments
Open

Facing issue while adding a step #113

MWaris97 opened this issue Aug 14, 2023 · 0 comments

Comments

@MWaris97
Copy link

MWaris97 commented Aug 14, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant