wozznik / Slider-Menu

Sencha touch slider menu component (Facebook-like slide in menu)
32 stars 12 forks source link

datepickerfield shown in the menu and not in the main Container #8

Open sindouda opened 11 years ago

sindouda commented 11 years ago

Hy, I have modified the view option 2 to this:

config: { fullscreen: true, title: 'Add Event', xtype:'formpanel', id:'p', items: [ { xtype: 'fieldset', items: [ { xtype: 'textfield', name: 'nomEvent', id:'nomevent', label: 'Nom Event:' }, { xtype: 'datepickerfield',// It shows the datePicker in the menu and not in the main label: 'Birthday', name: 'birthday', id:'debEvent', value: new Date()

                    }, 

        {
                        xtype: 'textfield',
                        name: 'lieu',
            id:'loc',
                        label: 'Lieu:',

                    }
                    ] // items
                }, {
                    xtype: 'toolbar',
                    layout: {
                        pack: 'center'
                    }, // layout
                    ui: 'plain',
                     items: [{       
                        xtype: 'button',
                        text: 'Submit',
                        ui: 'confirm',
                        handler: function (btn, evt) {

                      Ext.Msg.alert('Welcome');       //It shows the alert when in the menu and not in the main

                        } // handler
                    }
     ] // items (toolbar)
                }
                ]

}

Please any help??