matrix: broken nested @{} syntax in props property
This commit is contained in:
parent
0d420101ae
commit
db734493b2
2 changed files with 2 additions and 2 deletions
|
|
@ -517,7 +517,7 @@ class Widget extends EventEmitter {
|
|||
if (content.indexOf('@{') >= 0) {
|
||||
|
||||
content = balancedReplace('@', '{', '}', content, (subcontent)=>{
|
||||
return this.resolveProp(propName, '@{' + subcontent + '}', storeLinks ? 'nested' : false, this)
|
||||
return this.resolveProp(content, '@{' + subcontent + '}', storeLinks ? 'nested' : false, this)
|
||||
})
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -179,7 +179,7 @@ class Matrix extends Panel {
|
|||
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})
|
||||
data[i] = super.resolveProp(propName, propValue, i === 0 ? storeLinks : false, originalWidget, originalPropName, {$: i})
|
||||
}
|
||||
|
||||
return data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue