Roo/bootstrap/Input.js
authorAlan Knowles <alan@roojs.com>
Fri, 30 Nov 2018 02:21:09 +0000 (10:21 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 30 Nov 2018 02:21:09 +0000 (10:21 +0800)
Roo/bootstrap/Input.js

index 0057d8a..844a7d2 100644 (file)
@@ -403,7 +403,7 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
         }
         if (align ==='left' && this.fieldLabel.length) {
             
-            cfg.cls += ' roo-form-group-label-left row';
+            cfg.cls += ' roo-form-group-label-left'  + Roo.bootstrap.version == 4 ? ' row' : '';
             
             cfg.cn = [
                 indicator,