Skip to content

Not loading all the steps #62

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

Closed
iwoork opened this issue Apr 12, 2020 · 2 comments · Fixed by #76
Closed

Not loading all the steps #62

iwoork opened this issue Apr 12, 2020 · 2 comments · Fixed by #76

Comments

@iwoork
Copy link

iwoork commented Apr 12, 2020

I've having issue where some of the steps are not loaded even thought they are inside the StepWizard component. Let's say I have 8 steps, it only shows the first 5. What could be the problem here?

This doesn't work:

{
   questionnaires.map((questionnaire) => (
     <Questionnaire question={questionnaire.title} options={questionnaire.options} callback={updateSymptom} />
    ))
}

This works:

<Questionnaire question={questionnaires[0].title} options={questionnaires[0].options} callback={updateSymptom} />
<Questionnaire question={questionnaires[1].title} options={questionnaires[1].options} callback={updateSymptom} />
<Questionnaire question={questionnaires[2].title} options={questionnaires[2].options} callback={updateSymptom} />
<Questionnaire question={questionnaires[3].title} options={questionnaires[3].options} callback={updateSymptom} />
@inbaldoron
Copy link

any news about this? I am having the same issue

@AndrewSouthpaw
Copy link

I used the solution proposed here. Annoying, but it works. 🤦

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

Successfully merging a pull request may close this issue.

3 participants