projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bffbab
)
Roo/bootstrap/Input.js
author
Edward
<edward@roojs.com>
Tue, 10 Jul 2018 04:56:22 +0000
(12:56 +0800)
committer
Edward
<edward@roojs.com>
Tue, 10 Jul 2018 04:56:22 +0000
(12:56 +0800)
Roo/bootstrap/Input.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Input.js
b/Roo/bootstrap/Input.js
index
d40fe99
..
3f3e2ce
100644
(file)
--- a/
Roo/bootstrap/Input.js
+++ b/
Roo/bootstrap/Input.js
@@
-655,8
+655,11
@@
Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component, {
return true;
}
- if(value.length < 1 && this.allowBlank) { // if it's blank
- return true;
+ if(value.length < 1) { // if it's blank
+ if(this.allowBlank){
+ return true;
+ }
+ return false;
}
if(value.length < this.minLength){