projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c9218a
)
Roo/bootstrap/ComboBox.js
author
edward
<edward@roojs.com>
Thu, 28 Dec 2017 03:31:39 +0000
(11:31 +0800)
committer
edward
<edward@roojs.com>
Thu, 28 Dec 2017 03:31:39 +0000
(11:31 +0800)
Roo/bootstrap/ComboBox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/ComboBox.js
b/Roo/bootstrap/ComboBox.js
index
84c81c5
..
a68cee5
100644
(file)
--- a/
Roo/bootstrap/ComboBox.js
+++ b/
Roo/bootstrap/ComboBox.js
@@
-1166,7
+1166,16
@@
Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
if(this.store.getCount() > 0){
- if(this.)
+ if(this.emptyTitle.length) {
+
+ var r = new Roo.data.Record({});
+
+ r.set(this.displayField, this.emptyTitle);
+ r.set('id', 0);
+
+ this.insert(0, r);
+
+ }
this.expand();
this.restrictHeight();