Ext.form.Text.focus() doesn't work in iPad
I'm trying to set focus on textbox using focus() function. This was working fine in Chrome browser and not in iPad. When user types something in the textbox press enter to accept the value and add it to the list, after adding to list the control I'm trying to set the focus back to the textbox, so that the user can add another item without requiring manual effort to select the textbox.
I'm calling the above function to set focus.
Touch Premium Member
I'm having the same problem. I posted a thread about it yesterday in the Sencha Touch Premium forums. I'll let you know my solution if I figure it out.
that would be great. Thanks
Hate to say it, but this method is not available on mobile Safari. That's right, you cant focus() a text field on the iPhone/iPad.
Tags for this Thread