I have a country select (in SlimSelect) with codes and a [type=tel] input with inputmask. I insert country codes (var takeIndex) to the mask, but inputmask doesn't show number 9 if it exists in code. I added "\" to the mask and now it is showing the first number 9, but in code like +995 it shows only +95. How can I have correct codes? Maybe I should change default value for numerics, but I haven't found how can I do this.
$('input_phone_number').inputmask({mask: '+\\'+takeIndex+'9{10,13}', greedy: false, placeholder: ''});