rpelluru
rpelluru

Reputation: 231

Sencha field set form panel is working in safari not in iOS simulator

Below code is working in Safari without any issues but same piece of code is not working in iOS. Does fieldset have any issues with iOS ?

Environment:

Sencha Touch V2.0 iOS v5.0 simulator

Ext.application({
    name: 'Sencha',
    launch: function() {
    var formPanel = Ext.create('Ext.form.Panel', {
    fullscreen: true,

    items: [{
        xtype: 'fieldset',
        items: [
            {
                xtype: 'textfield',
                name : 'name',
                label: 'Name'
            },
            {
                xtype: 'emailfield',
                name : 'email',
                label: 'Email'
            },
            {
                xtype: 'passwordfield',
                name : 'password',
                label: 'Password'
            }
        ]
    }]
});

    }

});

Could you any help us why above code is not working in iOS.

Upvotes: 0

Views: 389

Answers (2)

Manuel Digeronimo
Manuel Digeronimo

Reputation: 36

I had a similar Problem. I set the requirements in the app.js to this

requires:
[
    'Ext.form.FieldSet',
    'Ext.field.Password'
]

worked for me, but i´m not sure it is the same kind of problem.

Upvotes: 2

StackFlower
StackFlower

Reputation: 721

What do you see when opened at an iOS device? I don't see any errors in your code. A fieldset in Sencha Touch normally works just fine in iOS.

Upvotes: 0

Related Questions