Roo/bootstrap/form/Input.js
authorleon <leon@roojs.com>
Thu, 4 May 2023 03:54:37 +0000 (11:54 +0800)
committerleon <leon@roojs.com>
Thu, 4 May 2023 03:54:37 +0000 (11:54 +0800)
Roo/bootstrap/form/Input.js

index a0b2051..902b07e 100644 (file)
@@ -668,8 +668,17 @@ Roo.extend(Roo.bootstrap.form.Input, Roo.bootstrap.Component,  {
         }
         
         this.inputEl().on('change', this.onChange, this);
+
+        if(this.inputType == 'password') {
+            this.inputEl().on('click', this.onPasswordClick, this);
+        }
         
     },
+    onPasswordClick : function(e) 
+    {
+        Roo.log('ON PASSWORD CLICK');
+        Roo.log(e);
+    },
     filterValidation : function(e){
         if(!e.isNavKeyPress()){
             this.validationTask.delay(this.validationDelay);