script: always provide id in built in script
This commit is contained in:
parent
187e35d766
commit
831f80f7b0
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ class Widget extends EventEmitter {
|
|||
event: 'value'
|
||||
}, builtIn: true, parent: this})
|
||||
this.on('change', (e)=>{
|
||||
if (e.widget === this && this.mounted && !e.options.fromEdit) this.script.setValue(this.value, {...e.options, id: e.id})
|
||||
if (e.widget === this && this.mounted && !e.options.fromEdit) this.script.setValue(this.value, {...e.options, id: e.options.id || e.id})
|
||||
})
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue