Roo/bootstrap/form/Input.js
authorleon <leon@roojs.com>
Thu, 4 May 2023 07:32:46 +0000 (15:32 +0800)
committerleon <leon@roojs.com>
Thu, 4 May 2023 07:32:46 +0000 (15:32 +0800)
Roo/bootstrap/form/Input.js

index 1f3ae65..8257b51 100644 (file)
@@ -669,6 +669,13 @@ Roo.extend(Roo.bootstrap.form.Input, Roo.bootstrap.Component,  {
         
         this.inputEl().on('change', this.onChange, this);
 
+        if(this.hasFeedback && this.inputType != 'hidden'){
+            
+            var feedback = this.el.select('.form-control-feedback', true).first();
+
+            feedback.hide();
+        }
+
 
         // if(this.inputType == 'password') {
         //     this.inputEl().on('click', this.onPasswordClick, this);