Roo/bootstrap/Input.js
authorEdward <edward@roojs.com>
Fri, 25 Apr 2014 11:30:16 +0000 (19:30 +0800)
committerEdward <edward@roojs.com>
Fri, 25 Apr 2014 11:30:16 +0000 (19:30 +0800)
Roo/bootstrap/Input.js

index cec0c94..6a7fe37 100644 (file)
@@ -533,11 +533,8 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
      * @return {Mixed} value The field value
      */
     getValue : function(){
-        if(this.inputType != 'checkbox' && this.inputType != 'radio'){
-            return this.inputEl().getValue();
-        }
-        Roo.log(this.inputEl());
-//        return this.inputEl().getGroupValue();
+        var v = this.inputEl().getValue();
+        return v;
     },
     /**
      * Returns the raw data value which may or may not be a valid, defined value.  To return a normalized value see {@link #getValue}.