From: edward Date: Mon, 28 May 2018 09:52:08 +0000 (+0800) Subject: Roo/bootstrap/Input.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=22a38cded7168339db185f338c7f10e2af201013 Roo/bootstrap/Input.js --- diff --git a/Roo/bootstrap/Input.js b/Roo/bootstrap/Input.js index 58beb68af1..7917f7d7e0 100644 --- a/Roo/bootstrap/Input.js +++ b/Roo/bootstrap/Input.js @@ -879,7 +879,12 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component, { if(feedback){ this.el.select('.form-control-feedback', true).first().removeClass([this.invalidFeedbackClass, this.validFeedbackClass]); } - + + if(this.indicator){ + this.indicator.removeClass('visible'); + this.indicator.addClass('invisible'); + } + if(this.disabled){ return; } @@ -888,11 +893,6 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component, { return; } - if(this.indicator){ - this.indicator.removeClass('visible'); - this.indicator.addClass('invisible'); - } - this.el.addClass(this.validClass); if(this.hasFeedback && this.inputType != 'hidden' && !this.allowBlank && (this.getValue().length || this.forceFeedback)){