Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-986 in a recent build.
  1. #1
    Touch Premium Member
    Join Date
    Sep 2011
    Posts
    22
    Vote Rating
    0
    mom_pece is on a distinguished road

      0  

    Default Text field focus()

    Text field focus()


    I have a few issues trying to set focus on a text field inside a panel.

    I am currently doing:
    Code:
    this.getForm().on({
                scope: this,
                'show': function (el, opt) {
                    this.getBoxCodeInput().focus();
                }
    });
    where getForm() returns the view (a Panel) and this.getBoxCodeInput() returns the text field. The field does not get focused.

    On another instance I need to focus another field when one field has been completed (carriage return pressed or go button on ipad)

    Code:
    this.control({
                '#codeInput': {
                    action: this.barcodeInput
                },
    });
    
    .....
    
     barcodeInput: function(e, field) {
                this.getLocationFrom().getInput().focus();
    }
    This seems to focus the other input (it flashes a carret whhen I try to move to another field) but the ipad virtual keyboard does not show up and the any key press (we use a barcode scanner) won;t fill in the field.

  2. #2
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    There are a few issues with field events in DP1, and how focusing and blurring works. This could be one of them. Adding it as a bug-

    Thanks.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi