Roo/bootstrap/Input.js
authorEdward <edward@roojs.com>
Mon, 28 Apr 2014 04:19:26 +0000 (12:19 +0800)
committerEdward <edward@roojs.com>
Mon, 28 Apr 2014 04:19:26 +0000 (12:19 +0800)
Roo/bootstrap/Input.js

index d64697b..1fe5293 100644 (file)
@@ -522,11 +522,7 @@ 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();
-        }
-        
-        return this.getGroupValue();
+        return this.inputEl().getValue();
     },
     /**
      * Returns the raw data value which may or may not be a valid, defined value.  To return a normalized value see {@link #getValue}.