Wizard not loading components for second time
See original GitHub issueAm getting following error when calling the wizard component second time
Console Error
ERROR Error: The default step index 2 is located after a non optional step
at StrictNavigationMode.webpackJsonp.../../../../ng2-archwizard/dist/navigation/strict-navigation-mode.js.StrictNavigationMode.reset (vendor.bundle.js:68023)
at WizardState.webpackJsonp.../../../../ng2-archwizard/dist/navigation/wizard-state.model.js.WizardState.initialize (vendor.bundle.js:68168)
at WizardComponent.webpackJsonp.../../../../ng2-archwizard/dist/components/wizard.component.js.WizardComponent.ngAfterContentInit (vendor.bundle.js:66545)
at callProviderLifecycles (vendor.bundle.js:147388)
at callElementProvidersLifecycles (vendor.bundle.js:147369)
at callLifecycleHooksChildrenFirst (vendor.bundle.js:147353)
at checkAndUpdateView (vendor.bundle.js:148465)
at callViewAction (vendor.bundle.js:148830)
at execEmbeddedViewsAction (vendor.bundle.js:148788)
at checkAndUpdateView (vendor.bundle.js:148463)
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Wizard step lazy loading · Issue #62 - GitHub
Hi, is there a way to lazy load components inside a wizard-step? For example, I have 2 wizard-step each one with a custom...
Read more >How to fix "Install wizard can't find the proper ... - YouTube
How to install a driver that is not designed for the current version of the operating system.
Read more >I am not able to load component dynamically in every steps in ...
I want to load components and steps both dynamically. my requirement is if DataSource component have 2 steps then it should load only...
Read more >How to load multiple components with the ... - Jazz.net
To load all the components in the RWS into a sandbox using the Load wizard with the option "Load the root folders of...
Read more >Common Issues with the SQL Server Import and Export Wizard
Here are a few issues I've found while loading data from one SQL Server database into another. Identity Columns. The wizard doesn't treat...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kahovn sorry for my late answer.
The message suggests that you want to set the third step as the default step. The problem is, that either the first or the second step is not marked as optional. To fix the problem you can either mark both the first and second step as optional, or set the navigation mode of the wizard to
free
.I don’t see your code. Can you please check that it’s inserted correctly inside your message?
For example, if we select index 2 as the default index, can we mark step 0 and 1 as done while initiating the wizard?