diff --git a/src/question_expression.ts b/src/question_expression.ts index d8634ab933..9891f26d97 100644 --- a/src/question_expression.ts +++ b/src/question_expression.ts @@ -442,6 +442,9 @@ Serializer.addClass( return getCurrecyCodes(); }, default: "USD", + visibleIf: (obj: QuestionExpressionModel): boolean => { + return obj.displayStyle === "currency"; + } }, { name: "maximumFractionDigits:number", default: -1 }, { name: "minimumFractionDigits:number", default: -1 },