Closed iwoork closed 4 years ago
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} />
any news about this? I am having the same issue
I used the solution proposed here. Annoying, but it works. 🤦
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:
This works: