次のようなファイルフィールドを含むフォームがあります。
可能です?ファイルファイルは、次のような関数で(ファイルを添付して)複製できますchange
(可能であれば、テキストフィールドなどの属性を変更できます..?)
これが私のファイルファイルhttp://jsfiddle.net/23tjk/です
items: [{
xtype: 'filefield',
name: 'file',
fieldLabel: 'Upload',
labelWidth: 50,
msgTarget: 'side',
allowBlank: false,
anchor: '100%',
listeners:{
'change': function(f, value){
form.add([f]); // nothing run
}
}
}],