@ -1,5 +1,6 @@
# 更新日志
2.0(2020-08)
- search_text_value_combo支持水印
- BI.makeObject 方法支持传入iteratee
2.0(2020-07)
@ -31,6 +31,7 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
el: {
type: "bi.search_text_value_trigger",
cls: "search-text-value-trigger",
watermark: o.watermark,
ref: function () {
self.trigger = this;
},
@ -3,9 +3,12 @@
*/
BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, {
props: {
props: function () {
return {
extraCls: "bi-search-text-value-trigger bi-border",
height: 24
height: 24,
watermark: BI.i18nText("BI-Basic_Search")
};
render: function () {
@ -25,6 +28,7 @@ BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, {
self.editor = this;
defaultText: o.text,
text: this._digest(o.value, o.items),
value: o.value,