ngMask
ngMask copied to clipboard
Mask still allows to input some wrong character
I've tried some masks and could notice that sometimes wrong inputs are allowed.
- With any mask I tried, like '99.999-999' the first character I type is showed in the input even if it is not supposed to be shown.
- If I type too fast, wrong inputs are allowed.
- They don't pass the validators. The form is still invalid, but the values are allowed in the input.
Both cases can be verified at the showcase.
Using Chrome.
@rafaeltscs Had same problem.
Fixed by adding restrict="reject"
.
You can read about this attr in Readme
The issue still occur when using Ctrl + V