Skip to Content

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • May 11, 2017 at 08:57 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 12, 2017 at 09:21 AM

    Hi,

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

    Add comment
    10|10000 characters needed characters exceeded

  • May 15, 2017 at 03:31 PM

    Here is the screen shot with the error on left. We are on step 2, but the title number is still "1".
    Add comment
    10|10000 characters needed characters exceeded

    • 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

  • Oct 04 at 09:12 AM

    Hi Experts,

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

    Thanks,

    Best Regards,

    Raina

    Add comment
    10|10000 characters needed characters exceeded