Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    127
    Vote Rating
    0
    robl is on a distinguished road

      0  

    Exclamation [PR3] searchfield displays "return" key instead of "search" key on iOS keyboard

    [PR3] searchfield displays "return" key instead of "search" key on iOS keyboard


    Code:
    Ext.application({    name: '2.0 PR3 Form Test',
    
    
        launch: function() {
            console.log('launch:');
    
    
            var myPanel = Ext.create("Ext.Panel", {
                fullscreen: true,
                layout: 'fit',
                items: [
                {
                    title: 'Basic',
                    xtype: 'formpanel',
                    id: 'basicform',
                    items: [
                    {
                        xtype: 'searchfield',
                        id: 'firstName',
                        name: 'first',
                        label: 'First'
                    },
                    {
                        xtype: 'searchfield',
                        id: 'lastName',
                        name: 'last',
                        label: 'Last'
                    }
                    ]
                }
                ]
            });
            console.log('myPanel=' + myPanel);
            var firstName = myPanel.down('#firstName');
            console.log('firstName=' + firstName);
    
    
    
    
        }
    });

  2. #2
    Sencha User
    Join Date
    Sep 2011
    Posts
    19
    Vote Rating
    0
    phamtieugiao is on a distinguished road

      0  

    Default


    And in Android, the height of the search field increases whenever there is text entered.

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    11
    Vote Rating
    0
    AdmSrck is on a distinguished road

      0  

    Default


    From my observation: it's connected to the fact, that form fields are not wrapped with form tag and actually I don't know if this is desired or not
    If you are looking for some solution check this thread, especially last post:

    http://www.sencha.com/forum/showthre...l=1#post682411

    If you apply this workaround "return" will be displayed as "search".
    In your example is "return" button triggers anything?

  4. #4
    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


    Duplicate issue we are aware of.

    Sencha Inc

    Jamie Avins

    @jamieavins