diff --git a/src/question_custom.ts b/src/question_custom.ts index 7a2fe04985..3dc91c5289 100644 --- a/src/question_custom.ts +++ b/src/question_custom.ts @@ -660,8 +660,9 @@ export class QuestionCustomModel extends QuestionCustomModelBase { return this.contentQuestion; } protected getDefaultTitle(): string { - if(this.hasJSONTitle && this.contentQuestion) + if(this.hasJSONTitle && this.contentQuestion) { return this.getProcessedText(this.contentQuestion.title); + } return super.getDefaultTitle(); } setValue(name: string, newValue: any, locNotification: any, allowNotifyValueChanged?: boolean): any {