advanced syntax: when editing VAR{} default value, make sure to update other properties using that VAR
This commit is contained in:
parent
5744b33daf
commit
9d74c0e279
1 changed files with 3 additions and 0 deletions
|
|
@ -657,6 +657,9 @@ class Widget extends EventEmitter {
|
|||
) {
|
||||
this.variables[name].default = value
|
||||
this.variables[name].value = value
|
||||
if (this.variables[name].propNames.length > 1) {
|
||||
this.updateProps(this.variables[name].propNames.filter(x=>x!==propName))
|
||||
}
|
||||
}
|
||||
|
||||
var r = this.variables[name].value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue