From 15824dd0b4513cf5eb331494ab9b33a7b7d67c31 Mon Sep 17 00:00:00 2001 From: john Date: Mon, 29 Oct 2018 16:19:29 +0800 Subject: [PATCH] Roo/bootstrap/PhoneInput.js --- Roo/bootstrap/PhoneInput.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Roo/bootstrap/PhoneInput.js b/Roo/bootstrap/PhoneInput.js index b4c562f9be..3c4903502e 100644 --- a/Roo/bootstrap/PhoneInput.js +++ b/Roo/bootstrap/PhoneInput.js @@ -296,6 +296,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("keyup", this.onKeyUp, this); + this.inputEl().on("keypress", this.keyPress, this); this.tpl = '
  • {name} +{dialCode}
  • '; @@ -554,6 +555,8 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, { Roo.log(this.getValue()); this.setValue(this.getValue()); - } + }, + + }); \ No newline at end of file -- 2.39.2