Roo/bootstrap/PhoneInput.js
authorjohn <john@roojs.com>
Mon, 29 Oct 2018 08:27:56 +0000 (16:27 +0800)
committerjohn <john@roojs.com>
Mon, 29 Oct 2018 08:27:56 +0000 (16:27 +0800)
Roo/bootstrap/PhoneInput.js

index 4a833ae..242657b 100644 (file)
@@ -546,10 +546,12 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, {
             return this.el.select('input.hidden-tel-input',true).first();
         },
         
+        // after setting val
         onKeyUp : function(e){
             this.setValue(this.getValue());
         },
         
+        // filter
         onKeyPress : function(e){
             if(this.allowed.indexOf(String.fromCharCode(e.getCharCode())) === -1){
                 e.stopEvent();