1. #1
    Sencha User
    Join Date
    Aug 2009
    Posts
    96
    Vote Rating
    1
    r4nd7263 is on a distinguished road

      0  

    Default Select field doesn't work on iPhone

    Select field doesn't work on iPhone


    Code:
    var fld = new Ext.form.Select({
        options: [
            {text: 'First Option',  value: 'first'},
            {text: 'Second Option', value: 'second'},
            {text: 'Third Option',  value: 'third'}
        ]
    });
    This doesn't work on iPhone. Tapping on Select field doesn't do anything. Works fine on iPad, I get a popup selection box. I looked at Kitchen Sink demo, the difference is there it's configured from xtype, but I can't do that here. What am I missing for it to work on iPhone? Since it works on iPad and Chrome (large viewport), I wonder if this is a bug?

  2. #2
    Sencha User
    Join Date
    Aug 2009
    Posts
    96
    Vote Rating
    1
    r4nd7263 is on a distinguished road

      0  

    Post


    I go it working by defining name,

    Code:
    var fld = new Ext.form.Select({
        name: 'myOption',     
       options: [{text: 'First Option',  value: 'first'},         
                     {text: 'Second Option', value: 'second'},         
                     {text: 'Third Option',  value: 'third'}     
       ] 
    });
    Example in http://dev.sencha.com/deploy/touch/docs/ is bad example. Since it works on iPad without name, should we consider this a bug?

  3. #3
    Sencha User
    Join Date
    May 2013
    Posts
    2
    Vote Rating
    0
    Lescot is on a distinguished road

      0  

    Default Select field doesn't work on iPhone

    Select field doesn't work on iPhone


    I tried setting the 'name' property as follows according to previous suggestion (I didn't have the 'name' attribute set originally):

    var accountType = new Ext.form.Select({
    label: 'Account Type',
    cls: 'inputData',
    name: 'accountType',
    options: [
    {text: 'Checking', value: 'Checking'}, {text: 'Savings', value: 'Savings'}
    ]
    });

    But it still does NOT work on iPhone 5 (I haven't tried on other mobile devices but I was told the drop-downs don't work on them either). However, above code/set up works (with or without the 'name' property) on mobilizers and simulated web browsers to act as mobile devices as I am able to click and select different options. Any idea what else needs to be done to get the 'Ext.form.Select' to work/ respond (open up/drop down to show different options) to finger tap? In the above code, 'Checking' is selected by default and displays in the drop-down but it won't let me select 'Savings' because it doesn't simply drop down and appears disabled even though it is enabled.

    Thanks.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar