var input = {
tag: 'input',
id : id,
+ type: 'number',
maxlength: this.max_length,
cls : 'form-control tel-input',
autocomplete: 'new-password'
var c = e.getCharCode();
if(
- (String.fromCharCode(c) == '.' || String.fromCharCode(c) == '-') &&
+ [",", "."].indexOf(String.fromCharCode(c)) > -1 ||
this.allowed.indexOf(String.fromCharCode(c)) === -1
){
e.stopEvent();