From 733e55c522e8a62ad8c1cb34074becd1be403e48 Mon Sep 17 00:00:00 2001 From: Andrew Telnov Date: Wed, 26 Jun 2024 19:54:02 +0300 Subject: [PATCH] Multi-Select Matrix - Hide columnsVisibleIf expression property fix #8469 --- 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 05796b61cb..ba1d5c6e54 100644 --- a/src/question_matrixdropdownbase.ts +++ b/src/question_matrixdropdownbase.ts @@ -2560,6 +2560,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 d3a441684e..a40fd98fcc 100644 --- a/tests/question_matrixdynamictests.ts +++ b/tests/question_matrixdynamictests.ts @@ -2959,7 +2959,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",