surveyjs / survey-library

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
https://surveyjs.io/form-library
MIT License
4.23k stars 816 forks source link

A bottom progress bar is not displayed when `questionsOnPageMode` is `singlePage` #8982

Closed JaneSjs closed 1 month ago

JaneSjs commented 1 month ago

T20434 - Regression: Answered question progress not shown when enabling single page mode in current version https://surveyjs.answerdesk.io/internal/ticket/details/T20434


Consider the following JSON:

{
  "pages": [
    {
      "name": "page1",
      "elements": [
        {
          "type": "boolean",
          "name": "question1"
        },
        {
          "type": "text",
          "name": "question2"
        }
      ]
    }
  ],
  "showQuestionNumbers": "off",
  "showProgressBar": "bottom",
  "progressBarType": "questions",
  "questionsOnPageMode": "singlePage"
}

Expected behavior: a progress bar appears. image

Current behavior: a progress bar is not shown (only when "questionsOnPageMode" is "singlePage"). image