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

survey.getQuestionByName doesn't work correctly when caseInsensitive is true #2051

andrewtelnov opened this issue Mar 26, 2020 · 0 comments


Copy link

@andrewtelnov andrewtelnov commented Mar 26, 2020

The following code doesn't work correctly. question is null, but it should not. questionByName function should convert to lowercase question name if caseInsensitive parameter is true.

  var survey = new SurveyModel({
    elements: [
        type: "text",
        name: "Q1"
var question = survey.getQuestionByName("Q1", true);
//question should not be null
@andrewtelnov andrewtelnov added the bug label Mar 26, 2020
@andrewtelnov andrewtelnov added this to the v1.5.18 milestone Mar 26, 2020
andrewtelnov added a commit that referenced this issue Mar 26, 2020
@andrewtelnov andrewtelnov added the fixed label Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.