candreoliveira / ngMask

Best Angular mask alternative! No jQuery, pure JS. About ~6kb!
http://candreoliveira.github.io/#/ngMask
ISC License
419 stars 171 forks source link

Problem with paste #140

Open 50l3r opened 7 years ago

50l3r commented 7 years ago

When i try to input manually it works fine, but when i try to paste a value it doesn't work.

Example

<input type="text" class="form-control form-control-lg" ng-model="App.Item.EmpresaTelefonoMovil" mask="9" repeat="9" placeholder="Teléfono Móvil" />

Example

123456789 -> looks good 123 456 789 -> return me "123 456 7"