Browse Source

clear_editor的默认值

es6
windy 7 years ago
parent
commit
46a84ed360
  1. 3
      demo/js/case/editor/demo.clear_editor.js
  2. 7
      dist/bundle.js
  3. 7
      dist/case.js
  4. 3
      dist/demo.js
  5. 7
      src/case/editor/editor.clear.js

3
demo/js/case/editor/demo.clear_editor.js

@ -12,7 +12,8 @@ Demo.ClearEditor = BI.inherit(BI.Widget, {
type: "bi.clear_editor",
cls: "bi-border",
width: 300,
watermark: "这个是带清除按钮的"
watermark: "这个是带清除按钮的",
value: 123
}],
vgap: 20
};

7
dist/bundle.js vendored

@ -78523,7 +78523,8 @@ BI.ClearEditor = BI.inherit(BI.Widget, {
allowBlank: true,
errorText: o.errorText,
validationChecker: o.validationChecker,
quitChecker: o.quitChecker
quitChecker: o.quitChecker,
value: o.value
});
this.clear = BI.createWidget({
type: "bi.icon_button",
@ -78607,7 +78608,11 @@ BI.ClearEditor = BI.inherit(BI.Widget, {
self.fireEvent(BI.ClearEditor.EVENT_STOP);
});
if (BI.isKey(o.value)) {
this.clear.visible();
} else {
this.clear.invisible();
}
},
_checkClear: function () {

7
dist/case.js vendored

@ -6581,7 +6581,8 @@ BI.ClearEditor = BI.inherit(BI.Widget, {
allowBlank: true,
errorText: o.errorText,
validationChecker: o.validationChecker,
quitChecker: o.quitChecker
quitChecker: o.quitChecker,
value: o.value
});
this.clear = BI.createWidget({
type: "bi.icon_button",
@ -6665,7 +6666,11 @@ BI.ClearEditor = BI.inherit(BI.Widget, {
self.fireEvent(BI.ClearEditor.EVENT_STOP);
});
if (BI.isKey(o.value)) {
this.clear.visible();
} else {
this.clear.invisible();
}
},
_checkClear: function () {

3
dist/demo.js vendored

@ -2471,7 +2471,8 @@ Demo.ClearEditor = BI.inherit(BI.Widget, {
type: "bi.clear_editor",
cls: "bi-border",
width: 300,
watermark: "这个是带清除按钮的"
watermark: "这个是带清除按钮的",
value: 123
}],
vgap: 20
};

7
src/case/editor/editor.clear.js

@ -26,7 +26,8 @@ BI.ClearEditor = BI.inherit(BI.Widget, {
allowBlank: true,
errorText: o.errorText,
validationChecker: o.validationChecker,
quitChecker: o.quitChecker
quitChecker: o.quitChecker,
value: o.value
});
this.clear = BI.createWidget({
type: "bi.icon_button",
@ -110,7 +111,11 @@ BI.ClearEditor = BI.inherit(BI.Widget, {
self.fireEvent(BI.ClearEditor.EVENT_STOP);
});
if (BI.isKey(o.value)) {
this.clear.visible();
} else {
this.clear.invisible();
}
},
_checkClear: function () {

Loading…
Cancel
Save