From: john Date: Thu, 1 Feb 2018 03:28:11 +0000 (+0800) Subject: Roo/bootstrap/Input.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=7740563826ab0939810baf5c812b41323f274cf0 Roo/bootstrap/Input.js --- diff --git a/Roo/bootstrap/Input.js b/Roo/bootstrap/Input.js index 1537c8aca0..f2bf3d95a2 100644 --- a/Roo/bootstrap/Input.js +++ b/Roo/bootstrap/Input.js @@ -939,7 +939,7 @@ 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.getValue() != null || this.getValue().length || this.forceFeedback){ + if(this.getValue() == null || this.getValue().length || this.forceFeedback){ this.el.select('.form-control-feedback', true).first().addClass([this.invalidFeedbackClass]); }