Skip to content

error in answer of barrating question with after npm install, cause of survey-angular #26

Open
@iamfariba

Description

@iamfariba

I have this error after click on "complete method" if i answer to barrating question which is css-star,
ERROR RangeError: Maximum call stack size exceeded
at QuestionDropdown.Base.getPropertyValueCore (webpack-internal:///./node_modules/survey-angular/survey.angular.js:1502)
at QuestionDropdown.Base.getPropertyValue (webpack-internal:///./node_modules/survey-angular/survey.angular.js:1495)
at QuestionDropdown.get [as questionValue] (webpack-internal:///./node_modules/survey-angular/survey.angular.js:9223)
at QuestionDropdown.Question.getValueCore (webpack-internal:///./node_modules/survey-angular/survey.angular.js:9565)
at QuestionDropdown.get [as value] (webpack-internal:///./node_modules/survey-angular/survey.angular.js:9249)
at question.valueChangedCallback (webpack-internal:///./node_modules/surveyjs-widgets/surveyjs-widgets.js:570)
at QuestionDropdown.Question.fireCallback (webpack-internal:///./node_modules/survey-angular/survey.angular.js:8999)
at QuestionDropdown.Question.setQuestionValue (webpack-internal:///./node_modules/survey-angular/survey.angular.js:9596)
at QuestionDropdown.QuestionSelectBase.setQuestionValue (webpack-internal:///./node_modules/survey-angular/survey.angular.js:13362)
at QuestionDropdown.Question.setValueCore (webpack-internal:///./node_modules/survey-angular/survey.angular.js:9568)
defaultErrorLogger @ webpack-internal:///./node_modules/@angular/core/esm5/core.js:1665


If i do not run "npm install" and i work with my old survey-angular in nodeModules which i got in february then i will not have that error,
but if i run "npm install" then i will have that error after click on "complete" button,

**with other question does not have error, only if i answer to this question which is barrating css-stars then i have that error and the answer of this question wont be added to the result object,
my barrating question is like this:
{
"type": "barrating",
"name": "question-rate-experience",
"title": "How would you rate",
"ratingTheme": "css-stars",
"choices": [1, 2, 3, 4, 5]
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions