cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5: How to fix the step index when hiding the previous step in Wizard

dong_zhu
Explorer
0 Kudos

Hi sapui5 experts,

I created a sapui5 wizard with a few steps and I used .setvisible() to hide the previous step UI and only show the new step UI. BUT, there is a problem - although the new step UI is shown correctly after moving to the next step, the "step index" (ie the number shown before the step title) stays as 1 no mater which new step user moves. Is this a sapui5 bug or I missed some thing? I have not implemented special behaviour for the Next button so I expect this should be handled by the Wizard control by default. Anyone know how to fix this? Thanks a lot!

/Dong Zhu

Accepted Solutions (0)

Answers (4)

Answers (4)

raina_goyal
Participant
0 Kudos

Hi Experts,

I am facing the similar issue, could you please suggest to resolve it.

Thanks,

Best Regards,

Raina

dong_zhu
Explorer
0 Kudos

Here is the screen shot with the error on left. We are on step 2, but the title number is still "1".
raina_goyal
Participant
0 Kudos

Dear @Dong Zhu,

Does your issue is resolved.. if yes , then please can you tell me how did you resolve it as I am also facing the same issue.

Thanks,

Best Regards,

Raina

Former Member
0 Kudos

Hi,

Could you please provides us with any screenshot or samples??

dong_zhu
Explorer
0 Kudos

Hi SAP SAPUI5 experts,

I found that the Wzard control step index is set by a function set in CSS, content: counter(step-counter). It clearly shows that this counter keep stays with value 1 no matter which step the user moves. I tried use the default next button or call .nextStep(), the UI shows the same index 1 with step titles. To me it looks like a Wizard control issue.

Can SAP people look at this? Thanks.

Dong Zhu