|
|
@ -14244,11 +14244,15 @@ BI.Widget = BI.inherit(BI.OB, { |
|
|
|
if (o.invisible) { |
|
|
|
if (o.invisible) { |
|
|
|
this.element.hide(); |
|
|
|
this.element.hide(); |
|
|
|
} |
|
|
|
} |
|
|
|
if (o.disabled) { |
|
|
|
if (o.disabled || o.invalid) { |
|
|
|
this.element.addClass("base-disabled disabled"); |
|
|
|
BI.nextTick(BI.bind(function () { |
|
|
|
|
|
|
|
if (this.options.disabled) { |
|
|
|
|
|
|
|
this.setEnable(false); |
|
|
|
} |
|
|
|
} |
|
|
|
if (o.invalid) { |
|
|
|
if (this.options.invalid) { |
|
|
|
this.element.addClass("base-invalid invalid"); |
|
|
|
this.setValid(false); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, this)); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|