script: fix setFocus for textarea
This commit is contained in:
parent
e8774c2607
commit
2d19a60854
1 changed files with 1 additions and 2 deletions
|
|
@ -460,8 +460,7 @@ class ScriptVm extends Vm {
|
|||
|
||||
if (widgets.length) {
|
||||
setTimeout(()=>{
|
||||
|
||||
widgets[0].widget.focus()
|
||||
if (widgets[0].focus) widgets[0].focus()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue