Roo/bootstrap/PhoneInput.js
[roojs1] / roojs-bootstrap-debug.js
index 133b6dd..d398e3e 100644 (file)
@@ -40390,14 +40390,9 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, {
         },
         
         onKeyUp : function(e){
-            
-            if(this.allowed.indexOf(String.fromCharCode(e.getCharCode())) === -1){
-                e.stopEvent();
-            }
+            this.setValue(this.getValue());
             
             Roo.log(this.getValue());
-            
-            this.setValue(this.getValue());
         },
         
         onKeyPress : function(e){
@@ -40407,8 +40402,6 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, {
             }
             
             Roo.log(this.getValue());
-            
-            this.setValue(this.getValue());
         }