roojs-all.js
authorAlan Knowles <alan@roojs.com>
Fri, 7 Feb 2020 06:59:26 +0000 (14:59 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 7 Feb 2020 06:59:26 +0000 (14:59 +0800)
roojs-debug.js
Roo/form/ComboNested.js

Roo/form/ComboNested.js

index abfa50d..d9661da 100644 (file)
@@ -298,23 +298,7 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
         this.collapse(); //??
     },
     
-    setValue : function(v){
-        var text = v;
-        if(this.valueField){
-            var r = this.findRecord(this.valueField, v);
-            if(r){
-                text = r.data[this.displayField];
-            }else if(this.valueNotFoundText !== undefined){
-                text = this.valueNotFoundText;
-            }
-        }
-        this.lastSelectionText = text;
-        if(this.hiddenField){
-            this.hiddenField.value = v;
-        }
-        Roo.form.ComboBox.superclass.setValue.call(this, text);
-        this.value = v;
-    },
+     
     
     findRecord : function (prop,value)
     {
@@ -349,6 +333,6 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
             });
         }
         return record;
-    },
+    }
     
 });
\ No newline at end of file