Roo/bootstrap/TextArea.js
authoredward <edward@roojs.com>
Thu, 21 Apr 2016 08:27:25 +0000 (16:27 +0800)
committeredward <edward@roojs.com>
Thu, 21 Apr 2016 08:27:25 +0000 (16:27 +0800)
Roo/bootstrap/TextArea.js

index bbf6f81..c2b9f19 100644 (file)
@@ -207,6 +207,13 @@ Roo.extend(Roo.bootstrap.TextArea, Roo.bootstrap.Input,  {
             return;
         }
         
+        var label = this.el.select('label', true).first();
+        var icon = thie.el.select('i.fa-star', true).first();
+        
+        if(label && icon){
+            icon.remove();
+        }
+        
         this.el.removeClass(this.invalidClass);
         
         if(this.hasFeedback && this.inputType != 'hidden' && !this.allowBlank){