fix #7737 - translatble strings - mostly on secure password
[roojs1] / Roo / bootstrap / form / Input.js
index bb88ec9..9cdfb59 100644 (file)
@@ -1056,7 +1056,7 @@ Roo.extend(Roo.bootstrap.form.Input, Roo.bootstrap.Component,  {
                 
                 this.el.select('.form-control-feedback', true).first().addClass([this.invalidFeedbackClass]);
 
-                feedback.update(this.invalidText);
+                feedback.update(typeof(msg) == 'undefined' ? this.invalidText : msg);
 
                 if(!this.allowBlank && !this.getRawValue().length){
                     feedback.update(this.blankText);