Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-990 in a recent build.
  1. #1
    Ext JS Premium Member simeon's Avatar
    Join Date
    Mar 2007
    Location
    Austin, Texas
    Posts
    227
    Vote Rating
    1
    simeon is on a distinguished road

      0  

    Default 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
    Code:
            stageTime.on('focus', function () {
                stageTime.getInput().input.dom.setSelectionRange(0, 9999);
            }, this, { delay: 100 });
    It would be nice to add support for text selection onFocus to the Ext.field class by config.

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    18
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    We'll see if that can make it in.

Thread Participants: 1