"$ xns" : "Roo.bootstrap",
"items" : [
{
- "listeners" : {
- "render" : "function (_self)\n{\n _this.employ_plan = this;\n\n}"
- },
"Number pageSize" : 25,
"Boolean allowBlank" : false,
"Number minChars" : 2,
"String/Roo.Template tpl" : "<div class=\"roo-select2-result\"><b>{display_name_t}</b></div>",
"String fieldLabel" : "How would you describe your career plans",
"String hiddenName" : "employ_plan",
- "String displayField" : "display_name_t",
+ "String displayField" : "name",
"items" : [
{
"listeners" : {
},
{
"xtype" : "JsonReader",
- "$ fields" : "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'name',\n 'type': 'string'\n },\n {\n 'name': 'display_name',\n 'type': 'string' \n },\n {\n 'name': 'display_name_t',\n 'type': 'string' \n }\n]",
"$ xns" : "Roo.data",
+ "$ fields" : "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'name',\n 'type': 'string'\n },\n {\n 'name': 'display_name',\n 'type': 'string' \n },\n {\n 'name': 'display_name_t',\n 'type': 'string' \n }\n]",
"* prop" : "reader"
}
]
xtype : 'ComboBox',
allowBlank : false,
alwaysQuery : true,
- displayField : 'display_name_t',
+ displayField : 'name',
editable : false,
fieldLabel : _this._strings['9bb1eb7617eec79c8a2e5866ba6132d9'] /* How would you describe your career plans */,
hiddenName : 'employ_plan',
triggerAction : 'all',
typeAhead : true,
valueField : 'name',
- listeners : {
- render : function (_self)
- {
- _this.employ_plan = this;
-
- }
- },
xns : Roo.bootstrap,
'|xns' : 'Roo.bootstrap',
store : {