Roo/bootstrap/TriggerField.js
authoredward <edward@roojs.com>
Thu, 23 Nov 2017 11:13:59 +0000 (19:13 +0800)
committeredward <edward@roojs.com>
Thu, 23 Nov 2017 11:13:59 +0000 (19:13 +0800)
Roo/bootstrap/TriggerField.js

index 9b6c5b4..b4efb9f 100644 (file)
@@ -301,14 +301,7 @@ Roo.extend(Roo.bootstrap.TriggerField, Roo.bootstrap.Input,  {
                         tag: 'label',
                         'for' :  id,
                         cls : 'control-label',
-                        html : this.fieldLabel,
-                        cn: [
-                            {
-                                tag : 'i',
-                                cls : 'roo-required-indicator right-indicator text-danger fa fa-lg fa-star',
-                                tooltip : 'This field is required'
-                            }
-                        ]
+                        html : this.fieldLabel + '<i class="roo-required-indicator right-indicator text-danger fa fa-lg fa-star"></i>'
                     },
                     {
                         cls : "",