diff --git a/src/question.ts b/src/question.ts index cb0d5d15fd..1315dcd7a4 100644 --- a/src/question.ts +++ b/src/question.ts @@ -2717,7 +2717,7 @@ Serializer.addClass("question", [ "enableIf:condition", "resetValueIf:condition", "setValueIf:condition", - { name: "setValueExpression:expression", visibleIf: (obj: any): boolean => { return !!obj.setValueIf; } }, + "setValueExpression:expression", "defaultValue:value", { name: "defaultValueExpression:expression", diff --git a/src/question_matrixdropdowncolumn.ts b/src/question_matrixdropdowncolumn.ts index 8f3f138f14..9755e1011f 100644 --- a/src/question_matrixdropdowncolumn.ts +++ b/src/question_matrixdropdowncolumn.ts @@ -752,7 +752,7 @@ Serializer.addClass( "requiredIf:condition", "resetValueIf:condition", "setValueIf:condition", - { name: "setValueExpression:expression", visibleIf: (obj: any): boolean => { return !!obj.setValueIf; } }, + "setValueExpression:expression", { name: "showInMultipleColumns:boolean", dependsOn: "cellType",