StablexUI input text autofocus

Hi everyone, i have a project use openl (with StablexUI). I don’t know how to auto focus in input text. Can you help me?
(sorry my english is not good).Thanks

Does setting stage.focus work?

Thank for reply. I have searchInput:InputText, i set
searchInput.stage.focus = searchInput
Lib.current.stage.focus = searchInput

but both of them don’t work :frowning:

Use inputText.label as the target for focus, the InputText widget’s textfield is the property called label.

Lib.current.stage.focus = searchInput.label should work