sanniassin / react-input-mask

Input masking component for React. Made with attention to UX.
MIT License
2.23k stars 255 forks source link

Does not work as expected with numbers #143

Closed antonfrolovsky closed 6 years ago

antonfrolovsky commented 6 years ago

I have phone mask like this:

<input mask="+7 999 999 99 99" />

if I want to enter a phone from the number 7, mask doesn't work. The same for number 8 if mask was started from +8 mask="+8 999 999 99 99

sanniassin commented 6 years ago

Can you make a demo repo?

antonfrolovsky commented 6 years ago

@sanniassin yep sorry, it's my misstake