diff --git a/src/question_baseselect.ts b/src/question_baseselect.ts index 12d0cc7ba2..71fb284bbd 100644 --- a/src/question_baseselect.ts +++ b/src/question_baseselect.ts @@ -1371,7 +1371,9 @@ export class QuestionSelectBase extends Question { newComment = this.getCommentFromValue(newValue); newValue = this.setOtherValueIntoValue(newValue); } else { - newComment = this.data.getComment(this.getValueName()); + if(this.data) { + newComment = this.data.getComment(this.getValueName()); + } } } super.updateValueFromSurvey(newValue, clearData);