Roo/bootstrap/form/TextArea.js
authorleon <leon@roojs.com>
Tue, 28 Feb 2023 03:50:52 +0000 (11:50 +0800)
committerleon <leon@roojs.com>
Tue, 28 Feb 2023 03:50:52 +0000 (11:50 +0800)
roojs-bootstrap.js
roojs-bootstrap-debug.js

Roo/bootstrap/form/TextArea.js
roojs-bootstrap-debug.js
roojs-bootstrap.js

index 93a64e8..2c35437 100644 (file)
@@ -260,8 +260,6 @@ Roo.extend(Roo.bootstrap.form.TextArea, Roo.bootstrap.form.Input,  {
             this.el.select('.form-control-feedback', true).first().removeClass([this.invalidFeedbackClass, this.validFeedbackClass]);
         }
 
-        Roo.log('ALLOW BLANK');
-        Roo.log(this.allowBlank);
         if(this.disabled || this.allowBlank){
             return;
         }
index 79bbb0e..64b1f74 100644 (file)
@@ -13657,8 +13657,6 @@ Roo.extend(Roo.bootstrap.form.TextArea, Roo.bootstrap.form.Input,  {
             this.el.select('.form-control-feedback', true).first().removeClass([this.invalidFeedbackClass, this.validFeedbackClass]);
         }
 
-        Roo.log('ALLOW BLANK');
-        Roo.log(this.allowBlank);
         if(this.disabled || this.allowBlank){
             return;
         }
index 37a1f5d..eb34aee 100644 (file)
@@ -586,7 +586,7 @@ if(A){this.el.select('.form-control-feedback',true).first().removeClass([this.in
 if(Roo.bootstrap.version==3){this.el.addClass(this.validClass);}else{this.inputEl().addClass('is-valid');}if(this.hasFeedback&&this.inputType!='hidden'&&!this.allowBlank&&(this.getValue().length||this.forceFeedback)){var A=this.el.select('.form-control-feedback',true).first();
 if(A){this.el.select('.form-control-feedback',true).first().removeClass([this.invalidFeedbackClass,this.validFeedbackClass]);this.el.select('.form-control-feedback',true).first().addClass([this.validFeedbackClass]);}}this.fireEvent('valid',this);},markInvalid:function(A){if(!this.el||this.preventMark){return;
 }this.el.removeClass([this.invalidClass,this.validClass]);this.inputEl().removeClass(['is-valid','is-invalid']);var B=this.el.select('.form-control-feedback',true).first();if(B){this.el.select('.form-control-feedback',true).first().removeClass([this.invalidFeedbackClass,this.validFeedbackClass]);
-}Roo.log('ALLOW BLANK');Roo.log(this.allowBlank);if(this.disabled||this.allowBlank){return;}var C=this.el.select('label',true).first();if(Roo.bootstrap.version==3){this.el.addClass(this.invalidClass);}else{this.inputEl().addClass('is-invalid');}if(this.hasFeedback&&this.inputType!='hidden'&&!this.allowBlank){var B=this.el.select('.form-control-feedback',true).first();
+}if(this.disabled||this.allowBlank){return;}var C=this.el.select('label',true).first();if(Roo.bootstrap.version==3){this.el.addClass(this.invalidClass);}else{this.inputEl().addClass('is-invalid');}if(this.hasFeedback&&this.inputType!='hidden'&&!this.allowBlank){var B=this.el.select('.form-control-feedback',true).first();
 if(B){this.el.select('.form-control-feedback',true).first().removeClass([this.invalidFeedbackClass,this.validFeedbackClass]);if(this.getValue().length||this.forceFeedback){this.el.select('.form-control-feedback',true).first().addClass([this.invalidFeedbackClass]);
 }}}this.fireEvent('invalid',this,A);}});
 // Roo/bootstrap/form/TriggerField.js