matrix: regression from 1.9.8

This commit is contained in:
bordun 2021-06-03 20:47:26 +02:00
parent 43fb94ca9d
commit 6f772c94bd
2 changed files with 8 additions and 2 deletions

View file

@ -1,5 +1,10 @@
# Changelog
## 1.9.9
- bug fixes
- matrix: regression from 1.9.8
## 1.9.8
- bug fixes

View file

@ -176,8 +176,9 @@ class Matrix extends Panel {
propValue = JSON.stringify(propValue)
}
var data = []
for (var i = 0; i < this.getProp('quantity'); i++) {
var data = [],
quantity = this.resolveProp('quantity', undefined, false, false, false)
for (var i = 0; i < quantity; i++) {
data[i] = super.resolveProp(propName, propValue, storeLinks, originalWidget, originalPropName, {$: i})
}