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

Panel reference displaying empty string in SurveyCreator #2192

Closed
seeker25 opened this issue Nov 13, 2021 · 1 comment
Closed

Panel reference displaying empty string in SurveyCreator #2192

seeker25 opened this issue Nov 13, 2021 · 1 comment
Assignees
Milestone

Comments

@seeker25
Copy link

seeker25 commented Nov 13, 2021

Hello there with this link:
https://surveyjs.io/Examples/Survey-Creator#content-result
or
https://surveyjs.io/Survey/Builder/

Used the following JSON:

{
 "pages": [
  {
   "name": "page1",
   "elements": [
    {
     "type": "text",
     "name": "question4"
    },
    {
     "type": "paneldynamic",
     "name": "question1",
     "templateElements": [
      {
       "type": "text",
       "name": "question3"
      },
      {
       "type": "text",
       "name": "question2",
       "title": "How are you {panel.question3}? How are you {question4}?"
      }
     ]
    }
   ]
  }
 ]
}

image

You'll notice in the survey editor the {panel.question3} -> becomes "" but yet {question4} is still shown as "{question4}".

This makes it a bit tricky when filling out a survey using the designer, as it appears How are you ? shows up instead of How are you {panel.question3}?

When you run the test the survey it's as expected, both are blank obviously:

image

@seeker25 seeker25 changed the title {panel} reference displaying empty string in SurveyCreator Panel reference displaying empty string in SurveyCreator Nov 13, 2021
@tsv2013 tsv2013 added this to Incoming in Current sprint progress via automation Nov 19, 2021
@tsv2013 tsv2013 moved this from Incoming to To Do in Current sprint progress Dec 22, 2021
@tsv2013 tsv2013 self-assigned this Dec 22, 2021
@tsv2013 tsv2013 moved this from To Do Sprint to In Progress in Current sprint progress Jan 17, 2022
@tsv2013 tsv2013 added this to the v1.9.6 milestone Jan 17, 2022
@tsv2013
Copy link
Member

tsv2013 commented Jan 17, 2022

Fixed via surveyjs/survey-library#3879 PR in library

@tsv2013 tsv2013 moved this from In Progress to Waiting for... in Current sprint progress Jan 17, 2022
Current sprint progress automation moved this from Waiting for... to v1.9.6 Jan 17, 2022
@tsv2013 tsv2013 added the fixed label Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants