From 536a29fe33a3d4946ce3342cdefec5518c670b03 Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 27 Jun 2024 10:18:35 +0300 Subject: [PATCH] Multi-Select Matrix - Hide columnsVisibleIf expression property fix #8469 (#8477) --- src/question_matrixdropdownbase.ts | 1 + tests/question_matrixdynamictests.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/question_matrixdropdownbase.ts b/src/question_matrixdropdownbase.ts index 74c1dda59f..f9767d8ce8 100644 --- a/src/question_matrixdropdownbase.ts +++ b/src/question_matrixdropdownbase.ts @@ -2563,6 +2563,7 @@ Serializer.addClass( visible: false, isLightSerializable: false, }, + { name: "columnsVisibleIf", visible: false }, { name: "detailPanelMode", choices: ["none", "underRow", "underRowSingle"], diff --git a/tests/question_matrixdynamictests.ts b/tests/question_matrixdynamictests.ts index 1403a1b10e..1ff50cb412 100644 --- a/tests/question_matrixdynamictests.ts +++ b/tests/question_matrixdynamictests.ts @@ -2950,7 +2950,8 @@ QUnit.test( } ); QUnit.test("columnsVisibleIf produce the bug, Bug#1540", function (assert) { - var json = { + assert.equal(Serializer.findProperty("matrixdynamic", "columnsVisibleIf").visible, false, "The property is invisible"); + const json = { pages: [ { name: "page1",