Open mrleblanc101 opened 1 year ago
I have this mask, but I can't make it work properly.
<the-mask v-model="form.numero_telephone" type="tel" :mask="['(###) ###-####', '# (###) ###-####']" :class="{ 'is-invalid-input': errors.numero_telephone }" />
When I type exactly 10 number, it apply the 11 number mask. So 123 456 7890 is formatted 1 (234) 567-890# instead of (123) 456-7890
123 456 7890
1 (234) 567-890#
(123) 456-7890
I'm having similar issue, but only with firefox ...
I have this mask, but I can't make it work properly.
When I type exactly 10 number, it apply the 11 number mask. So
123 456 7890
is formatted1 (234) 567-890#
instead of(123) 456-7890