projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7740563
)
Roo/bootstrap/Input.js
author
john
<john@roojs.com>
Thu, 1 Feb 2018 03:29:15 +0000
(11:29 +0800)
committer
john
<john@roojs.com>
Thu, 1 Feb 2018 03:29:15 +0000
(11:29 +0800)
Roo/bootstrap/Input.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Input.js
b/Roo/bootstrap/Input.js
index
f2bf3d9
..
9821c6b
100644
(file)
--- 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().length || this.forceFeedback){
this.el.select('.form-control-feedback', true).first().addClass([this.invalidFeedbackClass]);
}