sencha touch select field を使用しています。すべて正常に動作します。しかし、選択フィールドの値を変更しようとするたびに、「こんにちは」という警告メッセージが表示されます。これらのメッセージを回避する方法。私は煎茶が初めてで、理解できませんでした。何か助けて??
ここに私のコードがあります:
Ext.setup({
onReady: function() {
var loginPage = new Ext.form.Panel({
fullscreen:true,
id:'loginPage',
items : [
{
xtype : 'image',
src:'images/lock.gif',
style: 'width:40px;height:40px;margin:auto'
},
{
xtype:'fieldset',
items: [
{
xtype : 'selectfield',
label : 'username',
id: 'uTextField',
name: 'uTextField',
required: true,
options : [
{ text : 'aaa', value : 'aaa' },
{ text : 'bbb', value : 'bbb' },
{ text : 'ccc', value : 'ccc' }]
},
{
xtype: 'selectfield',
label : 'userId',
id: 'uidTextField',
name: 'uidTextField',
required: true,
options : [
{ text : '1', value : '1' },
{ text : '2', value : '2' },
{ text : '3', value : '3' }]
},
{
xtype: 'button',
itemId: 'logInButton',
ui: 'action',
padding: '10px',
text: 'Submit',
handler : function(){
//function goes here
}
}]
}]
});
}
});