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

Dynamic Panel - The templateVisibleIf property appears empty even though it is defined in a survey JSON #7623

Closed
JaneSjs opened this issue Jan 3, 2024 · 0 comments · Fixed by #7624
Assignees
Labels
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Jan 3, 2024

To reproduce the issue, load the following JSON to a survey creator:
View Demo

{
 "pages": [
  {
   "name": "page1",
   "elements": [
    {
     "type": "paneldynamic",
     "name": "question1",
     "valueName": "sharedData",
     "templateElements": [
      {
       "type": "radiogroup",
       "name": "question5",
       "choices": [
        "Item 1",
        "Item 2"
       ]
      },
      {
       "type": "text",
       "name": "name"
      }
     ]
    },
    {
     "type": "paneldynamic",
     "name": "question3",
     "valueName": "sharedData",
     "templateElements": [
      {
       "type": "text",
       "name": "question4",
       "defaultValueExpression": "{panel.name}"
      }
     ],
     "templateVisibleIf": "{panel.question5} = 'Item 1'"
    }
   ]
  }
 ]
}

Although templateVisibleIf is defined, it appears unspecified in a property grid:
image

@JaneSjs JaneSjs added the bug label Jan 3, 2024
@andrewtelnov andrewtelnov self-assigned this Jan 3, 2024
@andrewtelnov andrewtelnov transferred this issue from surveyjs/survey-creator Jan 3, 2024
andrewtelnov added a commit that referenced this issue Jan 3, 2024
novikov82 pushed a commit that referenced this issue Jan 4, 2024
@OlgaLarina OlgaLarina added this to the v1.9.124 milestone Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants