大家帮忙看看!
Ext.onReady(function(){
Ext.QuickTips.init();
// turn on validation errors beside the field globally
Ext.form.Field.prototype.msgTarget = 'side';
var InformationForm=new Ext.form.FormPanel({
buttonAlign:'center',
labelAlign:'left',
labelWidth:40,
title: 1111',
frame:true,
bodyStyle:'padding:0px 0px 0 0;',
width: 500,
items:[{
xtype:'textfield',
fieldLabel:'姓名',
name:'n_username',
id:'i_username',
width:100
}],
items:[{
xtype:'TextArea',
id:'txt',
emptyText:'吗',
name:'txtname',
fieldLabel:'吗',
width:200
}]
});
InformationForm.render(document.body);
});
这样写显示不了 TextArea 应该怎么写啊?谢谢大家!