Roo/bootstrap/PhoneInput.js
authorjohn <john@roojs.com>
Thu, 19 Apr 2018 11:59:09 +0000 (19:59 +0800)
committerjohn <john@roojs.com>
Thu, 19 Apr 2018 11:59:09 +0000 (19:59 +0800)
Roo/bootstrap/PhoneInput.js

index d05a4ed..1569798 100644 (file)
@@ -291,7 +291,7 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, {
             
             this.list.on('mouseover', this.onViewOver, this);
             this.list.on('mousemove', this.onViewMove, this);
-            this.inputEl().on("keypress", this.onKeyPress, this);
+            this.inputEl().on("keyup", this.onKeyUp, this);
             
             this.tpl = '<li><a href="#"><div class="flag {iso2}"></div>{name} <span class="dial-code">+{dialCode}</span></a></li>';