ngx-mask
ngx-mask copied to clipboard
Cannot start input with character at end of suffix
🐞 bug report
Description
- A user cannot start entering text/number in an input field with the character at the very end of the suffix for that input
- Characters are added at beginning of input whenever the user writes all the characters from the suffix
🔬 Minimal Reproduction
I am having this issue as well. E.g. if suffix is .sh then i won't be able to input h
It's caused by code here: https://github.com/JsDaddy/ngx-mask/blob/develop/projects/ngx-mask-lib/src/lib/mask-applier.service.ts#L101-L104
I made a pull request here to solve this issue for anyone interested: https://github.com/JsDaddy/ngx-mask/pull/1039
@bouc1620 @CharlieGreenman Hi . Thank you that using ngx-mask. @CharlieGreenman special thanks for contributing . Please try ngx-mask >= 14.2.4
Yay!