From b8b72a10ae27e5c02a3ccaa1fdbcf59f7d614c59 Mon Sep 17 00:00:00 2001 From: Roman Tsukanov Date: Wed, 27 Sep 2023 12:34:48 +0400 Subject: [PATCH] Fix {panelIndex} and {visiblePanelIndex} descriptions --- src/question_paneldynamic.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/question_paneldynamic.ts b/src/question_paneldynamic.ts index 0ef47a2723..72c083495f 100644 --- a/src/question_paneldynamic.ts +++ b/src/question_paneldynamic.ts @@ -384,8 +384,8 @@ export class QuestionPanelDynamicModel extends Question * * The template can contain the following placeholders: * - * - `{panelIndex}` - A zero-based index of a panel in the [`panels`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#panels) array. - * - `{visiblePanelIndex}` - A zero-based index of a panel in the [`visiblePanels`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#visiblePanels) array. + * - `{panelIndex}` - A panel index within the collection of all panels. Starts with 1. + * - `{visiblePanelIndex}` - A panel index within the collection of visible panels. Starts with 1. * @see template * @see templateDescription * @see templateElements @@ -406,8 +406,8 @@ export class QuestionPanelDynamicModel extends Question * * The template can contain the following placeholders: * - * - `{panelIndex}` - A zero-based index of a panel in the [`panels`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#panels) array. - * - `{visiblePanelIndex}` - A zero-based index of a panel in the [`visiblePanels`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#visiblePanels) array. + * - `{panelIndex}` - A panel index within the collection of all panels. Starts with 1. + * - `{visiblePanelIndex}` - A panel index within the collection of visible panels. Starts with 1. * @see templateTitle * @see renderMode */