Roo/bootstrap/Input.js
authoredward <edward@roojs.com>
Tue, 8 Aug 2017 10:42:34 +0000 (18:42 +0800)
committeredward <edward@roojs.com>
Tue, 8 Aug 2017 10:42:34 +0000 (18:42 +0800)
Roo/bootstrap/Input.js

index ff9e052..191a4fa 100644 (file)
@@ -543,6 +543,8 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
         }
         if(this.maskRe || (this.vtype && this.disableKeyFilter !== true && (this.maskRe = Roo.form.VTypes[this.vtype+'Mask']))){
             this.inputEl().on("keypress", this.filterKeys, this);
+        } else {
+            this.inputEl().on("keypress", this.keypress, this);
         }
        /* if(this.grow){
             this.el.on("keyup", this.onKeyUp,  this, {buffer:50});