There is a problem with the input field with the phone type.
I use for this field - jquery.maskedinput.js
Code for this field:
$('body').on('focus', 'input[name=\'phone\']', function(){
$(this).mask('+7 (999) 999-99-99');
});
Everything is fine here. But Garlic.js doesn't work correctly.
The value from this field is written without the last digit:
"+7 (111) 111-11-1_"
Сan you help me with this?
There is a problem with the input field with the phone type. I use for this field - jquery.maskedinput.js Code for this field: $('body').on('focus', 'input[name=\'phone\']', function(){ $(this).mask('+7 (999) 999-99-99'); }); Everything is fine here. But Garlic.js doesn't work correctly. The value from this field is written without the last digit: "+7 (111) 111-11-1_" Сan you help me with this?