From f8dbb71e2107da19c6140f757c8744a4110d4166 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 4 Dec 2018 16:41:15 +0800 Subject: [PATCH] examples/bootstrap/TabPanel-ComboBox.js --- examples/bootstrap/TabPanel-ComboBox.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/bootstrap/TabPanel-ComboBox.js b/examples/bootstrap/TabPanel-ComboBox.js index 6b3f47e42e..23047fa062 100644 --- a/examples/bootstrap/TabPanel-ComboBox.js +++ b/examples/bootstrap/TabPanel-ComboBox.js @@ -159,7 +159,7 @@ Roo.example.TabPanelCombobox = new Roo.XComponent({ name : 'country_id_name', triggerAction : 'all', minChars : '1', - tpl : '
  • {name}', + tpl : '
  • {title}', style : 'margin-top:20px;', listeners : { render : function (_self) { @@ -261,14 +261,14 @@ Roo.example.TabPanelCombobox = new Roo.XComponent({ xtype: 'ComboBox', xns: Roo.bootstrap, placeholder : 'Select a country', - displayField : 'name', + displayField : 'title', hiddenName : 'country_id', md : '12', size : 'sm', name : 'country_id_name', triggerAction : 'all', minChars : '1', - tpl : '
  • {name}', + tpl : '
  • {title}', style : 'margin-top:20px;', multiple: true, listeners : { @@ -292,7 +292,7 @@ Roo.example.TabPanelCombobox = new Roo.XComponent({ } }, - remoteSort : true, + remoteSort : false, sortInfo : { direction : 'ASC', field: 'title' }, proxy : { xtype: 'HttpProxy', -- 2.39.2