Roo/bootstrap/form/Input.js
authorleon <leon@roojs.com>
Thu, 20 Apr 2023 09:34:42 +0000 (17:34 +0800)
committerleon <leon@roojs.com>
Thu, 20 Apr 2023 09:34:42 +0000 (17:34 +0800)
Roo/bootstrap/form/Input.js

index c5b510b..9f55496 100644 (file)
@@ -1033,6 +1033,10 @@ Roo.extend(Roo.bootstrap.form.Input, Roo.bootstrap.Component,  {
                 this.el.select('.form-control-feedback', true).first().addClass([this.invalidFeedbackClass]);
 
                 feedback.update(this.invalidText);
+
+                if(!this.allowBlank && !this.getRawValue().length){
+                    feedback.update(this.blankText);
+                }
                 
             }