projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff7902f
)
Roo/bootstrap/PhoneInput.js
author
john
<john@roojs.com>
Mon, 29 Oct 2018 08:27:56 +0000
(16:27 +0800)
committer
john
<john@roojs.com>
Mon, 29 Oct 2018 08:27:56 +0000
(16:27 +0800)
Roo/bootstrap/PhoneInput.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/PhoneInput.js
b/Roo/bootstrap/PhoneInput.js
index
4a833ae
..
242657b
100644
(file)
--- a/
Roo/bootstrap/PhoneInput.js
+++ b/
Roo/bootstrap/PhoneInput.js
@@
-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();