Roo/bootstrap/Input.js
authorjohn <john@roojs.com>
Fri, 9 Mar 2018 05:26:52 +0000 (13:26 +0800)
committerjohn <john@roojs.com>
Fri, 9 Mar 2018 05:26:52 +0000 (13:26 +0800)
Roo/bootstrap/Input.js

index 6798723..4afa371 100644 (file)
@@ -386,11 +386,6 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
             cfg.cls += ' roo-form-group-label-left';
             
             cfg.cn = [
-                {
-                    tag : 'i',
-                    cls : 'roo-required-indicator left-indicator text-danger fa fa-lg fa-star',
-                    tooltip : 'This field is required'
-                },
                 {
                     tag: 'label',
                     'for' :  id,
@@ -398,6 +393,11 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
                     html : this.fieldLabel
 
                 },
+                {
+                    tag : 'i',
+                    cls : 'roo-required-indicator left-indicator text-danger fa fa-lg fa-star',
+                    tooltip : 'This field is required'
+                },
                 {
                     cls : "", 
                     cn: [