From 9513d82fc5e58ae5327e904ee0d34554300b6827 Mon Sep 17 00:00:00 2001 From: john Date: Mon, 29 Oct 2018 16:25:20 +0800 Subject: [PATCH] Roo/bootstrap/PhoneInput.js --- Roo/bootstrap/PhoneInput.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Roo/bootstrap/PhoneInput.js b/Roo/bootstrap/PhoneInput.js index 6c4ea1de3a..9a4ffbde5d 100644 --- a/Roo/bootstrap/PhoneInput.js +++ b/Roo/bootstrap/PhoneInput.js @@ -546,21 +546,13 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, { return this.el.select('input.hidden-tel-input',true).first(); }, - onKeyUp : function(e){ - this.setValue(this.getValue()); - - Roo.log(this.getValue()); - }, - onKeyPress : function(e){ if(this.allowed.indexOf(String.fromCharCode(e.getCharCode())) === -1){ e.stopEvent(); } - Roo.log(this.getValue()); + this.setValue(this.getValue()); } - - }); \ No newline at end of file -- 2.39.2