Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Completion is not working for Phone Number #48185

Open
chohra-med opened this issue Dec 9, 2024 · 6 comments
Open

Auto Completion is not working for Phone Number #48185

chohra-med opened this issue Dec 9, 2024 · 6 comments
Labels
Needs: Attention Issues where the author has responded to feedback. Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Newer Patch Available

Comments

@chohra-med
Copy link

Description

have a text Input inside a form to ask the user to register. the issue is the keyboard suggestions to fill the phone number is not showing for unknown reasons.

Does anyone have this issue before and how it can be solved?

P.S: I tried to play with the Keyboard type and with autoComplete type and with textContentType, but nothing work

<InputComponent
key={'phoneNumber'}
label={'phone number'} onChangeText={handleChange('phoneNumber')}
value={values.phoneNumber}
onBlur={handleBlur('phoneNumber')}
//
autoComplete={'tel'}
blurOnSubmit={false}

                autoCapitalize={'none'}
                keyboardType={'number-pad'}
                textContentType="telephoneNumber"                  
            />

image

Steps to reproduce

  • Just using a Text Input in React Native, doesn't auto suggestion completion

usually in other app u find your phone number suggested and show the suggestions keyboard

React Native Version

0.74.1

Affected Platforms

Runtime - iOS

Output of npx react-native info

..

Stacktrace or Logs

..

Reproducer

..

Screenshots and Videos

image

@react-native-bot
Copy link
Collaborator

Tip

Newer version available: You are on a supported minor version, but it looks like there's a newer patch available - 0.74.6. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

@react-native-bot react-native-bot added Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels Dec 9, 2024
@react-native-bot
Copy link
Collaborator

Tip

Newer version available: You are on a supported minor version, but it looks like there's a newer patch available - undefined. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

@react-native-bot
Copy link
Collaborator

Warning

Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:

@chohra-med
Copy link
Author

I tried with a new version, and the problem persist. Is there a way to show users phone suggestions when using TextInput with type phone number in react native?

@github-actions github-actions bot added Needs: Attention Issues where the author has responded to feedback. and removed Needs: Author Feedback labels Dec 9, 2024
@cortinico cortinico added Needs: Author Feedback and removed Needs: Attention Issues where the author has responded to feedback. labels Dec 9, 2024
@chohra-med
Copy link
Author

I m not sure where exactly the problem. Not with the react native version ( I tried it again in V 0.76). IF anyone have an idea how to solve this?

@github-actions github-actions bot added Needs: Attention Issues where the author has responded to feedback. and removed Needs: Author Feedback labels Dec 10, 2024
@shubhamguptadream11
Copy link
Collaborator

@chohra-med
There is a similar issue raised with autoComplete={"cc-number"}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Attention Issues where the author has responded to feedback. Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Newer Patch Available
Projects
None yet
Development

No branches or pull requests

4 participants