2
에 공개를 추가나는이 같은 FIELDSET 가지고 FIELDSET 필드
Ext.define('admin.view.BuzzEditForm', {
extend: 'Ext.form.Panel',
requires: ['Ext.form.FieldSet','Ext.Img'],
id: 'editorPanel',
xtype: 'buzzEditForm',
config: {
/* modal: true,
hideOnMaskTap: false,
centered: true,
width: 500,
scrollable: false,*/
items: [{
xtype: 'fieldset',
items: [
{
xtype: 'textfield',
name: 'keyword',
label: 'Mots clés'
},
{
xtype: 'textfield',
name: 'title',
label: 'Titre'
},
{
id: 'editorPanelvisual',
xtype: 'field',
label: 'Visuel actuel',
component: {
xtype: 'image',
src: '',
height: 200
}
},
{
xtype: 'textfield',
name: 'visual',
label: 'Visuel'
}
]
}]
}
});
을 그리고 난 내 editorPanelvisual 필드에 단추를 추가하고 싶습니다. 내가 어떻게 할 수 있니?