Roo/form/ComboBoxArray.js
authorAlan Knowles <alan@roojs.com>
Wed, 2 May 2012 07:12:57 +0000 (15:12 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 2 May 2012 07:12:57 +0000 (15:12 +0800)
Roo/form/ComboBoxArray.js

index 65dcd82..66ee6ec 100644 (file)
@@ -296,7 +296,7 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField,
     setFromData: function(v)
     {
         // this recieves an object, if setValues is called.
     setFromData: function(v)
     {
         // this recieves an object, if setValues is called.
-        Roo.log(v);
+        this.reset();
         this.el.dom.value = v[this.displayField];
         this.hiddenEl.dom.value = v[this.valueField];
         
         this.el.dom.value = v[this.displayField];
         this.hiddenEl.dom.value = v[this.valueField];