Benjamin Ansbach
25 Jun 2010, 11:36 AM
Hi there,
I experience a bad behaviour with using a select box on the second page in a Carousel. It will always try to reswitch to "the first" / another page.
Short Example:
Ext.setup({
onReady: function() {
var panelFrm = new Ext.form.FormPanel({
layout: 'card',
html: '<h1>page 2</h1>',
items: [{
xtype: 'select',
name : 'itm',
label: 'select itm',
options: [
{text: 'item 1', value: '1'},
{text: 'item 2', value: '2'}
]
}]
});
var carousel = new Ext.Carousel({
defaults: { cls: 'card' },
items: [{
html: '<h1>page 1</h1>'
}, panelFrm]
});
new Ext.Panel({
fullscreen: true,
layout: {
type: 'vbox',
align: 'stretch'
},
defaults: {
flex: 1
},
items: [carousel]
});
}
});
I experience a bad behaviour with using a select box on the second page in a Carousel. It will always try to reswitch to "the first" / another page.
Short Example:
Ext.setup({
onReady: function() {
var panelFrm = new Ext.form.FormPanel({
layout: 'card',
html: '<h1>page 2</h1>',
items: [{
xtype: 'select',
name : 'itm',
label: 'select itm',
options: [
{text: 'item 1', value: '1'},
{text: 'item 2', value: '2'}
]
}]
});
var carousel = new Ext.Carousel({
defaults: { cls: 'card' },
items: [{
html: '<h1>page 1</h1>'
}, panelFrm]
});
new Ext.Panel({
fullscreen: true,
layout: {
type: 'vbox',
align: 'stretch'
},
defaults: {
flex: 1
},
items: [carousel]
});
}
});