Skip to content

Commit

Permalink
Fix creator master, run cells conditions after set the visible rows
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtelnov committed Sep 16, 2024
1 parent ab410b0 commit 3fdbdc7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/survey-core/src/question_matrixdropdownbase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1714,18 +1714,18 @@ export class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseModel<Mat
if(!!this.visibleRowsArray) return this.visibleRowsArray;
this.generateVisibleRowsIfNeeded();
this.visibleRowsArray = this.getVisibleFromGenerated(this.generatedVisibleRows);
if (this.data) {
this.runCellsCondition(
this.data.getFilteredValues(),
this.data.getFilteredProperties()
);
}
return this.visibleRowsArray;
}
private generateVisibleRowsIfNeeded(): void {
if (!this.isUpdateLocked && !this.generatedVisibleRows) {
this.generatedVisibleRows = this.generateRows();
this.generatedVisibleRows.forEach((row) => this.onMatrixRowCreated(row));
if (this.data) {
this.runCellsCondition(
this.data.getFilteredValues(),
this.data.getFilteredProperties()
);
}
if(!!this.generatedVisibleRows) {
this.updateValueOnRowsGeneration(this.generatedVisibleRows);
this.updateIsAnswered();
Expand Down

0 comments on commit 3fdbdc7

Please sign in to comment.