Roo/bootstrap/Input.js
authorAlan Knowles <alan@roojs.com>
Thu, 29 Apr 2021 08:45:10 +0000 (16:45 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 29 Apr 2021 08:45:10 +0000 (16:45 +0800)
Roo/bootstrap/Input.js

index 484ed89..359ad3e 100644 (file)
@@ -466,7 +466,7 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
             }
             
             if(this.labelWidth < 13 && this.labelmd == 0){
-                this.labellg = this.labelWidth;
+                this.labellg = this.labellg > 0 ? labellg ? this.labelWidth;
             }
             
             if(this.labellg > 0){