From 493e77b9877263a6f5f07b9ec831b9f75e0aecd6 Mon Sep 17 00:00:00 2001 From: Aleksey Novikov Date: Fri, 27 Oct 2023 20:07:45 +0300 Subject: [PATCH] Matrix for mobile (details) #7185 --- src/question_matrixdropdownrendered.ts | 2 +- .../snapshots/matrixdropdown-cell-errors-bottom.snap.html | 2 +- .../markup/snapshots/matrixdropdown-cell-errors-top.snap.html | 2 +- tests/markup/snapshots/matrixdropdown-vertical.snap.html | 4 ++-- tests/markup/snapshots/matrixdropdown.snap.html | 4 ++-- .../matrixdynamic-show-in-multiple-columns-mobile.snap.html | 2 +- .../matrixdynamic-show-in-multiple-columns.snap.html | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/question_matrixdropdownrendered.ts b/src/question_matrixdropdownrendered.ts index 1b15288a1d..c11574ae46 100644 --- a/src/question_matrixdropdownrendered.ts +++ b/src/question_matrixdropdownrendered.ts @@ -141,7 +141,7 @@ export class QuestionMatrixDropdownRenderedRow extends Base { @property({ defaultValue: false }) isGhostRow: boolean; @property({ defaultValue: false }) isAdditionalClasses: boolean; @property({ defaultValue: true }) visible: boolean; - public hasEndActions: boolean; + public hasEndActions: boolean = false; public row: MatrixDropdownRowModelBase; public isErrorsRow = false; private static counter = 1; diff --git a/tests/markup/snapshots/matrixdropdown-cell-errors-bottom.snap.html b/tests/markup/snapshots/matrixdropdown-cell-errors-bottom.snap.html index ad2516dfc3..ac1fb91b14 100644 --- a/tests/markup/snapshots/matrixdropdown-cell-errors-bottom.snap.html +++ b/tests/markup/snapshots/matrixdropdown-cell-errors-bottom.snap.html @@ -12,7 +12,7 @@ - + row1 diff --git a/tests/markup/snapshots/matrixdropdown-cell-errors-top.snap.html b/tests/markup/snapshots/matrixdropdown-cell-errors-top.snap.html index 4a6d5367cf..40352b161e 100644 --- a/tests/markup/snapshots/matrixdropdown-cell-errors-top.snap.html +++ b/tests/markup/snapshots/matrixdropdown-cell-errors-top.snap.html @@ -27,7 +27,7 @@ - + row1 diff --git a/tests/markup/snapshots/matrixdropdown-vertical.snap.html b/tests/markup/snapshots/matrixdropdown-vertical.snap.html index 0ff15eefb8..d9666e1f5e 100644 --- a/tests/markup/snapshots/matrixdropdown-vertical.snap.html +++ b/tests/markup/snapshots/matrixdropdown-vertical.snap.html @@ -13,7 +13,7 @@ - + @@ -29,7 +29,7 @@ - + diff --git a/tests/markup/snapshots/matrixdropdown.snap.html b/tests/markup/snapshots/matrixdropdown.snap.html index 26d4934748..cf264ea8de 100644 --- a/tests/markup/snapshots/matrixdropdown.snap.html +++ b/tests/markup/snapshots/matrixdropdown.snap.html @@ -15,7 +15,7 @@ - + Row 1 @@ -30,7 +30,7 @@ - + Row 2 diff --git a/tests/markup/snapshots/matrixdynamic-show-in-multiple-columns-mobile.snap.html b/tests/markup/snapshots/matrixdynamic-show-in-multiple-columns-mobile.snap.html index 3fe38e9ad5..8634885576 100644 --- a/tests/markup/snapshots/matrixdynamic-show-in-multiple-columns-mobile.snap.html +++ b/tests/markup/snapshots/matrixdynamic-show-in-multiple-columns-mobile.snap.html @@ -17,7 +17,7 @@ - + row1 diff --git a/tests/markup/snapshots/matrixdynamic-show-in-multiple-columns.snap.html b/tests/markup/snapshots/matrixdynamic-show-in-multiple-columns.snap.html index 1abfa1abac..af8f1a9ec3 100644 --- a/tests/markup/snapshots/matrixdynamic-show-in-multiple-columns.snap.html +++ b/tests/markup/snapshots/matrixdynamic-show-in-multiple-columns.snap.html @@ -16,7 +16,7 @@ - + row1