Browse Source

无JIRA任务 searcher默认参数改一下

master
windy 5 years ago
parent
commit
502ec98cca
  1. 2
      src/base/combination/searcher.js
  2. 1
      src/widget/multiselect/trigger/searcher.multiselect.insert.js
  3. 1
      src/widget/multiselect/trigger/searcher.multiselect.js
  4. 1
      src/widget/multiselectlist/multiselectlist.insert.js
  5. 1
      src/widget/multiselectlist/multiselectlist.insert.nobar.js
  6. 1
      src/widget/multiselectlist/multiselectlist.js
  7. 1
      src/widget/searchmultitextvaluecombo/trigger/searcher.multitextvalue.js
  8. 1
      src/widget/singleselect/singleselectlist.insert.js
  9. 1
      src/widget/singleselect/trigger/searcher.singleselect.js

2
src/base/combination/searcher.js

@ -21,7 +21,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
isAutoSearch: true, // 是否自动搜索
isAutoSync: true, // 是否自动同步数据, 即是否保持搜索面板和adapter面板状态值的统一
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
allowSearchBlank: false, // 是否能够搜索包含空格的字符串
allowSearchBlank: true, // 是否能够搜索包含空格的字符串
// isAutoSearch为false时启用
onSearch: function (op, callback) {

1
src/widget/multiselect/trigger/searcher.multiselect.insert.js

@ -42,6 +42,7 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
this.searcher = BI.createWidget({
type: "bi.searcher",
allowSearchBlank: false,
element: this,
height: o.height,
isAutoSearch: false,

1
src/widget/multiselect/trigger/searcher.multiselect.js

@ -42,6 +42,7 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
this.searcher = BI.createWidget({
type: "bi.searcher",
allowSearchBlank: false,
element: this,
height: o.height,
isAutoSearch: false,

1
src/widget/multiselectlist/multiselectlist.insert.js

@ -75,6 +75,7 @@ BI.MultiSelectInsertList = BI.inherit(BI.Single, {
this.trigger = BI.createWidget({
type: "bi.searcher",
allowSearchBlank: false,
isAutoSearch: false,
isAutoSync: false,
onSearch: function (op, callback) {

1
src/widget/multiselectlist/multiselectlist.insert.nobar.js

@ -81,6 +81,7 @@ BI.MultiSelectInsertNoBarList = BI.inherit(BI.Single, {
this.trigger = BI.createWidget({
type: "bi.searcher",
allowSearchBlank: false,
isAutoSearch: false,
isAutoSync: false,
onSearch: function (op, callback) {

1
src/widget/multiselectlist/multiselectlist.js

@ -62,6 +62,7 @@ BI.MultiSelectList = BI.inherit(BI.Widget, {
this.trigger = BI.createWidget({
type: "bi.searcher",
allowSearchBlank: false,
isAutoSearch: false,
isAutoSync: false,
onSearch: function (op, callback) {

1
src/widget/searchmultitextvaluecombo/trigger/searcher.multitextvalue.js

@ -25,6 +25,7 @@ BI.SearchMultiSelectSearcher = BI.inherit(BI.Widget, {
this.searcher = BI.createWidget({
type: "bi.searcher",
allowSearchBlank: false,
element: this,
height: o.height,
isAutoSearch: false,

1
src/widget/singleselect/singleselectlist.insert.js

@ -60,6 +60,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Single, {
this.trigger = BI.createWidget({
type: "bi.searcher",
allowSearchBlank: false,
isAutoSearch: false,
isAutoSync: false,
onSearch: function (op, callback) {

1
src/widget/singleselect/trigger/searcher.singleselect.js

@ -41,6 +41,7 @@ BI.SingleSelectSearcher = BI.inherit(BI.Widget, {
this.searcher = BI.createWidget({
type: "bi.searcher",
allowSearchBlank: false,
element: this,
height: o.height,
isAutoSearch: false,

Loading…
Cancel
Save