Roo/bootstrap/ComboBox.js
authoredward <edward@roojs.com>
Thu, 28 Dec 2017 03:52:38 +0000 (11:52 +0800)
committeredward <edward@roojs.com>
Thu, 28 Dec 2017 03:52:38 +0000 (11:52 +0800)
Roo/bootstrap/ComboBox.js

index c552643..2ff0080 100644 (file)
@@ -1171,7 +1171,7 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
                 var r = new Roo.data.Record({});
                 
                 r.set(this.displayField, this.emptyTitle);
-                r.set(this.valueField, '');
+                r.set(this.valueField, 0);
 
                 this.store.insert(0, r);