How to autofocus on prompt


#1

Hey, i would like to autofocus the Input Inside App.dialog.prompt, does anyone know how to do that?


#2
var dialog = app.dialog.prompt('...');
dialog.$el.find('input').focus();