Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Progress bar counts invisible questions when calculating the total progress value #8514

Closed
MrSatyam77 opened this issue Jul 5, 2024 · 2 comments
Assignees
Labels
bug user issue An issue or bug reported by users
Milestone

Comments

@MrSatyam77
Copy link

MrSatyam77 commented Jul 5, 2024

Survey JS Customs progress bar documentation link.

My Progress Bar Not Completed 100% even all answer is fillable. Code link.

Description:
I am adding one dynamic matrix in Survey Form.
I added the field dynamically with SurveyJS.
If I select the Yes then my second column value visible.
If I select the No then my second column value not visible.
When All Column value is Yes then It's working fine.
But when I select two field NO and second field value not hide and progress count is not display correctly

Can anyone please address that how can i ignore the value If it's not visible in matrix?

@JaneSjs JaneSjs self-assigned this Jul 5, 2024
@JaneSjs JaneSjs added the user issue An issue or bug reported by users label Jul 8, 2024
@JaneSjs
Copy link
Contributor

JaneSjs commented Jul 9, 2024

Hello @MrSatyam77,
A custom progress bar uses the default survey.progressValue property value. However, the survey.progressValue counts invisible questions to calculate the total number of questions.

View Demo with a standard Progress bar
image

I will reach out to our developers regarding the possible option to exclude invisible questions from the total progress number.

@JaneSjs JaneSjs changed the title Survey Progress bar is not accurate with dynamic matrix? Progress Bar counts invisible questions when calculating the total progress value Jul 9, 2024
@andrewtelnov andrewtelnov self-assigned this Jul 9, 2024
@JaneSjs JaneSjs removed their assignment Jul 9, 2024
@MrSatyam77
Copy link
Author

@andrewtelnov this issued is not resolved which version (survey-core, survey-angular-ui) it's resolve ?

https://codesandbox.io/p/sandbox/surveyjs-angular-forked-ryc43s?file=%2Fpackage.json%3A14%2C35

@OlgaLarina OlgaLarina added this to the v1.11.7 milestone Jul 16, 2024
@RomanTsukanov RomanTsukanov changed the title Progress Bar counts invisible questions when calculating the total progress value Progress bar counts invisible questions when calculating the total progress value Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug user issue An issue or bug reported by users
Projects
None yet
Development

No branches or pull requests

4 participants