Skip to content

Commit

Permalink
Make setValueIf/setValueExpression visible
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtelnov committed Oct 5, 2023
1 parent 666bab3 commit dd1f9d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/question.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2672,7 +2672,7 @@ Serializer.addClass("question", [
{ name: "valueName", onSettingValue: (obj: any, val: any): any => { return makeNameValid(val); } },
"enableIf:condition",
"resetValueIf:condition",
{ name: "setValueIf:condition", visible: false },
"setValueIf:condition",
{ name: "setValueExpression:expression", visibleIf: (obj: any): boolean => { return !!obj.setValueIf; } },
"defaultValue:value",
{
Expand Down
2 changes: 1 addition & 1 deletion src/question_matrixdropdowncolumn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ Serializer.addClass(
"enableIf:condition",
"requiredIf:condition",
"resetValueIf:condition",
{ name: "setValueIf:condition", visible: false },
"setValueIf:condition",
{ name: "setValueExpression:expression", visibleIf: (obj: any): boolean => { return !!obj.setValueIf; } },
{
name: "showInMultipleColumns:boolean",
Expand Down

0 comments on commit dd1f9d6

Please sign in to comment.