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

index 2ff0080..c552643 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, 0);
+                r.set(this.valueField, '');
 
                 this.store.insert(0, r);