Roo/bootstrap/TriggerField.js
authoredward <edward@roojs.com>
Tue, 8 Aug 2017 03:53:43 +0000 (11:53 +0800)
committeredward <edward@roojs.com>
Tue, 8 Aug 2017 03:53:43 +0000 (11:53 +0800)
Roo/bootstrap/TriggerField.js

index 7393268..fab7787 100644 (file)
@@ -320,7 +320,11 @@ Roo.extend(Roo.bootstrap.TriggerField, Roo.bootstrap.Input,  {
         } else if ( this.fieldLabel.length) {
 //                Roo.log(" label");
                  cfg.cn = [
-                   
+                   {
+                        tag : 'i',
+                        cls : 'roo-required-indicator left-indicator text-danger fa fa-lg fa-star',
+                        tooltip : 'This field is required'
+                    },
                     {
                         tag: 'label',
                         //cls : 'input-group-addon',