Text (input) SelectAll onFocus

Hi ,
is there a way to select all text when the input gets focus?

You can use native HTML API

$$("myinput").getInputNode().select();

http://webix.com/snippet/ec79a831