surveyjs_angular_cli
surveyjs_angular_cli copied to clipboard
error in answer of barrating question with after npm install, cause of survey-angular
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] },
Hello I' ve checked this case in this repo, and it workes fine. Could you please provide some steps to reproduce this problem or your project? Thanks, Dmitriy SurveyJS Team
Hi,
Thank you for your answer, Is it possible i send you my files? how can i send it?
Thank you
Hello Please check our angular.json file in the root of repo. There are configs which you should include in your project to use barrating question. Please, try it. If you don't get the result then give us the link on the repo with your example. Thanks, Dmitriy SurveyJS Team