From 96a5caf0a413611b1d90d119a0cb7dc9351da0a8 Mon Sep 17 00:00:00 2001 From: Aleksey Novikov Date: Fri, 27 Dec 2024 17:08:20 +0300 Subject: [PATCH] #9214 - change property name --- packages/survey-core/src/survey.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/survey-core/src/survey.ts b/packages/survey-core/src/survey.ts index 7a25136a11..1c9d703261 100644 --- a/packages/survey-core/src/survey.ts +++ b/packages/survey-core/src/survey.ts @@ -6895,10 +6895,10 @@ export class SurveyModel extends SurveyElementCore * > This property cannot be specified in the survey JSON schema. Use dot notation to specify it. */ public get clearDisabledChoices(): boolean { - return this.getPropertyValue("clearValueOnDisableItems", false); + return this.getPropertyValue("clearDisabledChoices", false); } public set clearDisabledChoices(val: boolean) { - this.setPropertyValue("clearValueOnDisableItems", val); + this.setPropertyValue("clearDisabledChoices", val); } /** * Obsolete. Use the [`clearDisabledChoices`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#clearDisabledChoices) property instead.