Roo/bootstrap/form/TextArea.js
authorleon <leon@roojs.com>
Fri, 21 Apr 2023 02:42:34 +0000 (10:42 +0800)
committerleon <leon@roojs.com>
Fri, 21 Apr 2023 02:42:34 +0000 (10:42 +0800)
Roo/bootstrap/form/TextArea.js

index d449c67..e9b05f7 100644 (file)
@@ -210,6 +210,7 @@ Roo.extend(Roo.bootstrap.form.TextArea, Roo.bootstrap.form.Input,  {
             
         if(feedback){
             this.el.select('.form-control-feedback', true).first().removeClass([this.invalidFeedbackClass, this.validFeedbackClass]);
+            feedback.update('');
         }
 
         if(this.disabled || this.allowBlank){
@@ -229,7 +230,7 @@ Roo.extend(Roo.bootstrap.form.TextArea, Roo.bootstrap.form.Input,  {
         }
         
         
-        if(this.hasFeedback && this.inputType != 'hidden' && !this.allowBlank && (this.getValue().length || this.forceFeedback)){
+        if(this.hasFeedback && this.inputType != 'hidden'){
             
             var feedback = this.el.select('.form-control-feedback', true).first();