projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
361dfb2
)
Roo/bootstrap/ComboBox.js
author
Edward
<edward@roojs.com>
Fri, 8 May 2015 09:32:08 +0000
(17:32 +0800)
committer
Edward
<edward@roojs.com>
Fri, 8 May 2015 09:32:08 +0000
(17:32 +0800)
Roo/bootstrap/ComboBox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/ComboBox.js
b/Roo/bootstrap/ComboBox.js
index
2fc4877
..
1db52ed
100644
(file)
--- a/
Roo/bootstrap/ComboBox.js
+++ b/
Roo/bootstrap/ComboBox.js
@@
-1723,6
+1723,15
@@
Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
this.collapse();
+ },
+
+ validate : function()
+ {
+ if(this.disabled || this.validateValue(this.getValue())){
+ this.clearInvalid();
+ return true;
+ }
+ return false;
}