Roo/bootstrap/Input.js
authoredward <edward@roojs.com>
Mon, 22 Feb 2016 09:04:48 +0000 (17:04 +0800)
committeredward <edward@roojs.com>
Mon, 22 Feb 2016 09:04:48 +0000 (17:04 +0800)
Roo/bootstrap/Input.js

index bcd0117..24edc1b 100644 (file)
@@ -733,7 +733,7 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
         
         this.el.addClass(this.validClass);
         
-        if(this.hasFeedback && this.inputType != 'hidden' && !this.allowBlank && this.getValue().length){
+        if(this.hasFeedback && this.inputType != 'hidden' && !this.allowBlank && (this.getValue().length || this.forceFeedback)){
             
             var feedback = this.el.select('.form-control-feedback', true).first();