roojs-bootstrap.js
[roojs1] / roojs-bootstrap-debug.js
index ac8775a..c935031 100644 (file)
@@ -40396,7 +40396,7 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, {
             Roo.log(e.getCharCode());
             
             if(
-                    (String.fromCharCode(c) == '.' || String.fromCharCode(c) == '-') &&
+                    [",", ".", "n"].indexOf(String.fromCharCode(c)) > -1 &&
                     this.allowed.indexOf(String.fromCharCode(c)) === -1
             ){
                 e.stopEvent();