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.03k stars 787 forks source link

Dynamic panel and show/hide questions #8195

Closed GabrieleT0 closed 3 months ago

GabrieleT0 commented 3 months ago

Hi! I'm working on a survey where the user must enter 3 of his or her search fields. The survey is made by select menus and a radio button group. To have 3 of them entered, I used dynamic panels so that the same template can be easily replicated. The problem is that if the user selects something in the first panel and then creates a new one, the survey components in the previous panel remain visible, I attach a screenshot.

Screenshot 2024-04-27 alle 12 46 28 (2)

In this screenshot, the user selected Life Science (LS), then another select menù appears with all research area related to LS. Then if user open another panel (to insert the second research area), the LS research area appears again (should not appear since the user has not yet selected anything)

Screenshot 2024-04-27 alle 12 46 35 (2)

Is it a bug or is it some missed configuration? Thank you.