X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2FTextArea.js;h=3eb51d9c305f10dec070a5c0080229891d0db811;hb=94787adb0016c64a9d838f271ef6c91decd24491;hp=ecbaf4fe7045ed280074deda96d0b24d6614c6f7;hpb=33f04d31deaa8cb8abbf7efc3e316b93084fd829;p=roojs1 diff --git a/Roo/bootstrap/TextArea.js b/Roo/bootstrap/TextArea.js index ecbaf4fe70..3eb51d9c30 100644 --- a/Roo/bootstrap/TextArea.js +++ b/Roo/bootstrap/TextArea.js @@ -240,9 +240,9 @@ Roo.extend(Roo.bootstrap.TextArea, Roo.bootstrap.Input, { if(label && icon){ icon.remove(); } - - this.el.removeClass([ this.invalidClass, 'is-invalid']); - + this.el.removeClass( this.validClass); + this.inputEl().removeClass('is-invalid'); + if(this.hasFeedback && this.inputType != 'hidden' && !this.allowBlank){ var feedback = this.el.select('.form-control-feedback', true).first();