|
|
@ -29,7 +29,7 @@ BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, { |
|
|
|
self.editor = this; |
|
|
|
self.editor = this; |
|
|
|
}, |
|
|
|
}, |
|
|
|
watermark: o.watermark, |
|
|
|
watermark: o.watermark, |
|
|
|
defaultText: o.text, |
|
|
|
defaultText: o.defaultText, |
|
|
|
text: this._digest(o.value, o.items), |
|
|
|
text: this._digest(o.value, o.items), |
|
|
|
value: o.value, |
|
|
|
value: o.value, |
|
|
|
height: o.height, |
|
|
|
height: o.height, |
|
|
@ -69,7 +69,7 @@ BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, { |
|
|
|
this.editor.setState(v); |
|
|
|
this.editor.setState(v); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_digest: function(vals, items){ |
|
|
|
_digest: function (vals, items) { |
|
|
|
var o = this.options; |
|
|
|
var o = this.options; |
|
|
|
vals = BI.isArray(vals) ? vals : [vals]; |
|
|
|
vals = BI.isArray(vals) ? vals : [vals]; |
|
|
|
var result = []; |
|
|
|
var result = []; |
|
|
@ -111,4 +111,4 @@ BI.SearchTextValueTrigger.EVENT_SEARCHING = "EVENT_SEARCHING"; |
|
|
|
BI.SearchTextValueTrigger.EVENT_STOP = "EVENT_STOP"; |
|
|
|
BI.SearchTextValueTrigger.EVENT_STOP = "EVENT_STOP"; |
|
|
|
BI.SearchTextValueTrigger.EVENT_START = "EVENT_START"; |
|
|
|
BI.SearchTextValueTrigger.EVENT_START = "EVENT_START"; |
|
|
|
BI.SearchTextValueTrigger.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
BI.SearchTextValueTrigger.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
BI.shortcut("bi.search_text_value_trigger", BI.SearchTextValueTrigger); |
|
|
|
BI.shortcut("bi.search_text_value_trigger", BI.SearchTextValueTrigger); |
|
|
|