xtype: 'modx-combo',
fieldLabel: _('teaching_res_title'),
name: 'resource_id',
displayField: 'pagetitle',
hiddenName: 'resource_id',
valueField: 'id',
fields: ['pagetitle','id'],
pageSize: 20,
url: MODx.config.connector_url,
baseParams:{
action: 'resource/getlist'
},
typeAhead: true,
editable: true,
anchor: '99%',
},{