Browse Source

Pull request #2579: Update src/core/4.widget.js

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit 'dd1d6588b59b79c37215c3efd91cf2f31ad0e3a4':
  Update src/core/4.widget.js
es6
Dailer 3 years ago
parent
commit
7ee1605eff
  1. 2
      src/core/4.widget.js

2
src/core/4.widget.js

@ -322,7 +322,7 @@
} }
if (this.options.invalid) { if (this.options.invalid) {
var invalid = BI.isFunction(o.invalid) ? this.__watch(o.invalid, function (context, newValue) { var invalid = BI.isFunction(o.invalid) ? this.__watch(o.invalid, function (context, newValue) {
self.setEnable(!newValue); self.setValid(!newValue);
}) : o.invalid; }) : o.invalid;
if (invalid) { if (invalid) {
this.setValid(false); this.setValid(false);

Loading…
Cancel
Save