Browse Source

Pull request #2546: chore: TextEditor支持传入inputType和autocomplete

Merge in VISUAL/fineui from ~CAUCHY.KE/fineui:master to master

* commit '8409dceececca7ae099a139181a289b59a327b54':
  chore: TextEditor支持传入inputType和autocomplete
es6
Cauchy.Ke 3 years ago
parent
commit
0b26e1784a
  1. 4
      src/widget/editor/editor.text.js

4
src/widget/editor/editor.text.js

@ -50,7 +50,9 @@ BI.TextEditor = BI.inherit(BI.Widget, {
quitChecker: o.quitChecker,
allowBlank: o.allowBlank,
watermark: o.watermark,
errorText: o.errorText
errorText: o.errorText,
inputType: o.inputType,
autocomplete: o.autocomplete
});
this.editor.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);

Loading…
Cancel
Save