react-native-floating-label-input icon indicating copy to clipboard operation
react-native-floating-label-input copied to clipboard

Autofill phone number - remove +91 or country code

Open srithar21 opened this issue 3 years ago • 4 comments

Hi ,

I am facing the issue in autofill phone number from the suggestion. Here, not able to detect that selection because need to remove the +91 or any country code.

OS: iOS 15.5 React native: 67.2

srithar21 avatar Jun 16 '22 22:06 srithar21

Hi @srithar21, I'm sorry, but I couldn't understand your issue with this lib. What exactly is happening with the input, and what version of this lib are you using?

Cnilton avatar Jun 16 '22 23:06 Cnilton

@srithar21 Any updates?

Cnilton avatar Jun 19 '22 17:06 Cnilton

Image from iOS (1) Hi @Cnilton ,

I asking about that Is there any way to detect when select the number from above the keyboard? (Highlighted in red color)

srithar21 avatar Jun 21 '22 22:06 srithar21

@srithar21 ok, now I understand. So, after searching a little I found out that this is a possible bug in react-native that I think won't be fixed. You can check this out on both these links: stack overflow / github

A workaround for this is to use autoCorrect={false} and keyboardType={'number-pad'}. Or you can change to whatever keyboard type you need. Hope this helps!

Cnilton avatar Jun 21 '22 23:06 Cnilton