Roo/bootstrap/Input.js
authorAlan Knowles <alan@roojs.com>
Mon, 14 Dec 2020 04:59:09 +0000 (12:59 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 14 Dec 2020 04:59:09 +0000 (12:59 +0800)
Roo/bootstrap/Input.js

index e535f1f..eef59c6 100644 (file)
@@ -397,10 +397,7 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
             tooltip : 'This field is required'
         };
         if (Roo.bootstrap.version > 3 ) {
-            indicator = {
-                tag : 'i',
-                style : 'display-none'
-            };
+            indicator.cls += 'display-none'; // are we just hiding it?
         }
         if (align ==='left' && this.fieldLabel.length) {