-
6 Nov 2011 2:38 PM #1
autoSelect text in field isn't available in touch 2
autoSelect text in field isn't available in touch 2
Noticed I couldnt' select text in a field on focus of that field. It appears that input.select() doesn't workon mobile phones.
I was able to accomplish it with this block of code
It would be nice to add support for text selection onFocus to the Ext.field class by config.Code:stageTime.on('focus', function () { stageTime.getInput().input.dom.setSelectionRange(0, 9999); }, this, { delay: 100 });
-
7 Nov 2011 8:34 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,653
- Vote Rating
- 14
We'll see if that can make it in.
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-990
in
2.0.


Reply With Quote