From 9eba2e000bb2fc0c05ce07e589ebc2103d2578d4 Mon Sep 17 00:00:00 2001 From: RomanTsukanov Date: Fri, 20 Oct 2023 12:17:01 +0400 Subject: [PATCH] Update the `setValueExpression` description --- src/question.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/question.ts b/src/question.ts index b5531b897a..f10f2899d2 100644 --- a/src/question.ts +++ b/src/question.ts @@ -1702,7 +1702,9 @@ export class Question extends SurveyElement this.setPropertyValue("setValueIf", val); } /** - * An expression used to calculate the question value. Applies only when the [`setValueIf`](#setValueIf) expression evaluates to `true`. + * An expression used to calculate the question value. + * + * You can use `setValueExpression` as a standalone property or in conjunction with the [`setValueIf`](#setValueIf) expression, in which case the calculated question value applies only when `setValueIf` evaluates to `true`. * * [Expressions](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions (linkStyle)) * @see defaultValueExpression