react-native-phone-number-input icon indicating copy to clipboard operation
react-native-phone-number-input copied to clipboard

Feature request: masking phone input

Open cloudorbush opened this issue 4 years ago • 6 comments

Instead of a number looking like

+12353535353

It would be nice if it would show up as

+1 (555) 555-1234

while the user is typing in real time.

Thank you for making an awesome component.

cloudorbush avatar Sep 22 '21 17:09 cloudorbush

Do have a workaround for this?

Davete0302 avatar Feb 18 '22 08:02 Davete0302

@Davete0302 use another library

cloudorbush avatar Feb 18 '22 21:02 cloudorbush

@Davete0302 use another library

Which one would you suggest?

@mariomurrent-softwaresolutions did you end up using another library? I'm trying to figure out what library to use besides this. I don't know if its still actively maintained?

e-itegbe avatar Jul 30 '22 02:07 e-itegbe

@e-itegbe

  • https://github.com/CaioQuirinoMedeiros/react-native-mask-input
  • https://github.com/akinncar/react-native-mask-text

This is just for the masking.

Unfortunately I don't think there's a good all-in-one solution available, but let me know if you find it.

cloudorbush avatar Jul 30 '22 02:07 cloudorbush

@e-itegbe no, I'm still using this one, but thinking to migrate to react-native-mask-input