-
Notifications
You must be signed in to change notification settings - Fork 823
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
Dynamic Panel with visibleIf
: Adding a new panel causes the whole question to disappear when inside a composite question
#7771
Comments
@SeeJayy Here is the working example. Please fork it, modify it to reproduce the issue and place the link here. Thank you, |
@andrewtelnov Please see here (apologies I didn't explain this thoroughly) |
@andrewtelnov Could also be related to #7774 |
andrewtelnov
added
bug
user issue
An issue or bug reported by users
and removed
question
labels
Feb 1, 2024
Here is the miminum configuration that produce the issue: Survey.ComponentCollection.Instance.add({
name: "importgoods",
elementsJSON: [
{
"name": "isImport",
"type": "boolean",
},
{
"name": "importGoodsProducts",
"type": "paneldynamic",
"visibleIf": "{composite.isImport} = true",
"minPanelCount": 1,
"templateElements": [
{
"name": "product",
"type": "text"
}
]
}
]
});
const json = {
"elements": [
{ name: "question1", type: "importgoods" }
]
}; We will take a look. Thank you, |
andrewtelnov
changed the title
Dynamic Panel - Add new causes whole panel to disappear when inside composite question
Dynamic Panel with visibleIf - Add new causes whole panel to disappear when inside composite question
Feb 1, 2024
andrewtelnov
added a commit
that referenced
this issue
Feb 1, 2024
…r when inside composite question fix #7771
RomanTsukanov
changed the title
Dynamic Panel with visibleIf - Add new causes whole panel to disappear when inside composite question
Dynamic Panel with Feb 6, 2024
visibleIf
: Adding a new panel causes the whole question to disappear when inside a composite question
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are you requesting a feature, reporting a bug or asking a question?
Reporting a bug
What is the current behavior?
Dynamic panels inside Composite questions do not operate correctly when clicking the Add New button
What is the expected behavior?
Dynamic panels should act as normal when inside composite questions
How would you reproduce the current behavior (if this is a bug)?
Create a dynamic panel inside a composite question and try to add a new row (using a template). The entire dynamic panel will disappear. (no console error)
The text was updated successfully, but these errors were encountered: