Roo/bootstrap/Input.js
authoredward <edward@roojs.com>
Thu, 23 Nov 2017 06:25:14 +0000 (14:25 +0800)
committeredward <edward@roojs.com>
Thu, 23 Nov 2017 06:25:14 +0000 (14:25 +0800)
Roo/bootstrap/Input.js

index fbd1ab8..b92b2c9 100644 (file)
@@ -47,7 +47,10 @@ Roo.bootstrap.Input = function(config){
     
     Roo.bootstrap.Input.superclass.constructor.call(this, config);
    
-    if()
+    if(config.labelWidth < 12){
+        this.labelWidth = 0;
+        this.labelmd = config.labelWidth;
+    }
     
     this.addEvents({
         /**