Skip to content

Commit

Permalink
#9214 - change property name
Browse files Browse the repository at this point in the history
  • Loading branch information
novikov82 committed Dec 27, 2024
1 parent 1ce3fd6 commit 96a5caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/survey-core/src/survey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 96a5caf

Please sign in to comment.