bhrott / react-native-masked-text

A pure javascript masked text and input text component for React-Native.
MIT License
1.61k stars 249 forks source link

Can't remove white spaces separator from the middle of the masked phone number #254

Open docdrue opened 3 years ago

docdrue commented 3 years ago

Hello. Can't remove white spaces separator from the middle of the masked phone number.

React Native: 0.64.1, react-native-masked-text: 1.13.0 OS: iOS Same issue: #35 , #198

<TextInputMask type={'custom'} options={{ mask: '+999 999 999 999 99' }} />

After i putt phone number i can delete it if cursor on a number but if i put it on empty space separator nothing happening!

Any ideas?

Cassianosch commented 3 years ago

same here

edohay commented 2 years ago

Same happens with any other non-digit symbol which you try to remove between other digits. E.g. ()- symbols.