You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ReferenceError: document is not defined
at new DropdownListModel (/home///backend/node_modules/survey-core/webpack:/Survey/src/dropdownListModel.ts:350:31)
at QuestionDropdownModel.get (/home///backend/node_modules/survey-core/webpack:/Survey/src/question_dropdown.ts:266:37)
at QuestionDropdownModel.get (/home///backend/node_modules/survey-core/webpack:/Survey/src/question_dropdown.ts:274:17)
at QuestionDropdownModel../src/question_dropdown.ts.QuestionDropdownModel.onVisibleChoicesChanged (/home///backend/node_modules/survey-core/webpack:/Survey/src/question_dropdown.ts:313:41)
at QuestionDropdownModel../src/question_baseselect.ts.QuestionSelectBase.onSurveyLoad (/home///backend/node_modules/survey-core/webpack:/Survey/src/question_baseselect.ts:1349:10)
at PageModel../src/panel.ts.PanelModelBase.onSurveyLoad (/home///backend/node_modules/survey-core/webpack:/Survey/src/panel.ts:1020:24)
at SurveyModel../src/survey.ts.SurveyModel.doElementsOnLoad (/home///backend/node_modules/survey-core/webpack:/Survey/src/survey.ts:5811:21)
at SurveyModel../src/survey.ts.SurveyModel.endLoadingFromJson (/home///backend/node_modules/survey-core/webpack:/Survey/src/survey.ts:6106:10)
at JsonObject../src/jsonobject.ts.JsonObject.toObjectCore (/home///backend/node_modules/survey-core/webpack:/Survey/src/jsonobject.ts:1651:11)
at JsonObject../src/jsonobject.ts.JsonObject.toObject (/home///backend/node_modules/survey-core/webpack:/Survey/src/jsonobject.ts:1611:10)
The text was updated successfully, but these errors were encountered:
#7856)
* ReferenceError: document is not defined is thrown on an attempt to generate a SurveyModel on a server-side fix#7855
* Add more checks on document undefined #7855
RomanTsukanov
changed the title
ReferenceError: document is not defined is thrown on an attempt to generate a SurveyModel on a server-side
A ReferenceError is thrown on an attempt to generate a SurveyModel on a server
Feb 13, 2024
https://surveyjs.answerdesk.io/internal/ticket/details/T16795
https://surveyjs.answerdesk.io/internal/ticket/details/T16596
The text was updated successfully, but these errors were encountered: