Skip to Content
0

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

May 09, 2017 at 03:08 PM

183

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Dong Zhu May 11, 2017 at 08:57 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
naresh b May 12, 2017 at 09:21 AM
0

Hi,

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

Share
10 |10000 characters needed characters left characters exceeded
Dong Zhu May 15, 2017 at 03:31 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded