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

The getQuestionByName() method doesn't return a question instance even though it is returned by the getAllQuestions() method #8583

Closed
JaneSjs opened this issue Jul 19, 2024 · 0 comments · Fixed by #8584
Assignees
Labels
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Jul 19, 2024

Please refer to the following demo: View Plunker.
Here is the minimum reproducible JSON:

{
 "pages": [
  {
   "elements": [
    {
     "type": "html",
     "name": "q1"
    }
   ]
  },
  {
   "elements": [
    {
     "type": "text",
     "name": "q2"
    }
   ]
  }
 ],
 "firstPageIsStarted": true,
 "questionsOnPageMode": "questionPerPage",
}
@JaneSjs JaneSjs added the bug label Jul 19, 2024
@andrewtelnov andrewtelnov self-assigned this Jul 19, 2024
@RomanTsukanov RomanTsukanov changed the title The survey.getQuestionByName doesn't return a question instance even though the question is available within the survey.getAllQuestions() array The getQuestionByName() method doesn't return a question instance even though it is returned by the getAllQuestions() method Jul 22, 2024
@OlgaLarina OlgaLarina added this to the v1.11.8 milestone Jul 22, 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