if (el.xtype == 'ComboBox') {
-
+ el.alwaysQuery = true;
+ el.triggerAction = 'all';
+ el.forceSelection = true;
+ el.selectOnFocus = true;
+ el.minChars = 2;
+ el.editable = true;
+
+
el.queryParam = 'query[' + rec.data.display_field + ']';// SET WHEN USED
el.hiddenName = rec.data.dataIndex // SET WHEN USED eg. project_id
el.name = rec.data.dataIndex + '_' + rec.data.display_field;
el.items = [
+ 'alwaysQuery' : true,
+ 'triggerAction' : 'all',
+ 'forceSelection': true,
+ 'selectOnFocus' : true,
+ 'minChars' :2,
+ 'editable' : true,
{
'*prop' : 'store',
'xtype' : 'Store',