From 17d4c759ee616e2d33547399cf9f6d7d7ee1ebc8 Mon Sep 17 00:00:00 2001 From: RomanTsukanov Date: Tue, 18 Jun 2024 17:58:52 +0400 Subject: [PATCH] Describe the `tabTitlePlaceholder` property --- src/question_paneldynamic.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/question_paneldynamic.ts b/src/question_paneldynamic.ts index 67f0f1a992..de82e981c7 100644 --- a/src/question_paneldynamic.ts +++ b/src/question_paneldynamic.ts @@ -416,6 +416,7 @@ export class QuestionPanelDynamicModel extends Question * * [View Demo](https://surveyjs.io/form-library/examples/tabbed-interface-for-duplicate-group-option/ (linkStyle)) * @see templateTitle + * @see tabTitlePlaceholder * @see renderMode */ public get templateTabTitle(): string { @@ -427,6 +428,11 @@ export class QuestionPanelDynamicModel extends Question get locTemplateTabTitle(): LocalizableString { return this.getLocalizableString("templateTabTitle"); } + /** + * A placeholder for tab titles that applies when the [`templateTabTitle`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle) expression doesn't produce a meaningful value. + * + * Default value: `"New Panel"` (taken from a [localization dictionary](https://github.com/surveyjs/survey-library/tree/master/src/localization)) + */ public get tabTitlePlaceholder(): string { return this.locTabTitlePlaceholder.text; }