|
|
@ -3,9 +3,12 @@ |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, { |
|
|
|
BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, { |
|
|
|
|
|
|
|
|
|
|
|
props: { |
|
|
|
props: function () { |
|
|
|
extraCls: "bi-search-text-value-trigger bi-border", |
|
|
|
return { |
|
|
|
height: 24 |
|
|
|
extraCls: "bi-search-text-value-trigger bi-border", |
|
|
|
|
|
|
|
height: 24, |
|
|
|
|
|
|
|
watermark: BI.i18nText("BI-Basic_Search") |
|
|
|
|
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
render: function () { |
|
|
@ -25,6 +28,7 @@ BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, { |
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
|
self.editor = this; |
|
|
|
self.editor = this; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
watermark: o.watermark, |
|
|
|
defaultText: o.text, |
|
|
|
defaultText: o.text, |
|
|
|
text: this._digest(o.value, o.items), |
|
|
|
text: this._digest(o.value, o.items), |
|
|
|
value: o.value, |
|
|
|
value: o.value, |
|
|
|