如何在面板内部获得selectfield(sencha touch)
我试图在浮动的、以模态为中心的面板中获得一个selectfield,但当我单击选择时,“母”面板关闭,只有selectfield的选择面板保持不变如何在面板内部获得selectfield(sencha touch),select,panel,field,sencha-touch,Select,Panel,Field,Sencha Touch,我试图在浮动的、以模态为中心的面板中获得一个selectfield,但当我单击选择时,“母”面板关闭,只有selectfield的选择面板保持不变 if (!this.popup) { this.popup = new Ext.Panel({ floating: true, modal: true, centered: true,
if (!this.popup) {
this.popup = new Ext.Panel({
floating: true,
modal: true,
centered: true,
width: 390,
height: heightOfPopUp,
styleHtmlContent: true,
scroll: 'vertical',
items: [{
xtype: 'selectfield',
name: 'options',
options: [
{text: 'This is just a big select', value: '1'},
{text: 'Another select item', value: '2'}
]
}]...
我做错了什么
thnx 尝试将其添加到面板选项:
hideOnMaskTap: false,
对这种行为有何解释?