Skip to content

Add iOS 12 textContentType options - #21079

Closed
ultramiraculous wants to merge 1 commit into
react:masterfrom
ultramiraculous:patch-1
Closed

Add iOS 12 textContentType options#21079
ultramiraculous wants to merge 1 commit into
react:masterfrom
ultramiraculous:patch-1

Conversation

@ultramiraculous

@ultramiraculousultramiraculous commented Sep 12, 2018

Copy link
Copy Markdown
Contributor

Adding the new textContentType options from iOS 12. newPassword helps the OS know to put a password field into the keychain, and oneTimeCode hints that the field will take input from an SMS one time code.

Test Plan:

The flow-typing for the new types should work like the others. Functionally there shouldn't be much to break because the API on the iOS side is taking a string and doesn't break if you give it new input.

Release Notes:

[IOS] [ENHANCEMENT] [ReactNative] - Add iOS 12 textContentType options for TextInput

@facebook-github-botfacebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 12, 2018

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no-trailing-spaces: Trailing spaces not allowed.

@facebook-github-botfacebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Sep 13, 2018

@facebook-github-botfacebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TheSavior is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot

Copy link
Copy Markdown
Collaborator

@ultramiraculous merged commit 644fc57 into facebook:master.


Once this commit is added to a release, you will see the corresponding version tag below the description at 644fc57. If the commit has a single master tag, it is not yet part of a release.

@reactreact locked as resolved and limited conversation to collaborators Sep 13, 2018
@react-native-botreact-native-bot added the Merged This PR has been merged. label Sep 13, 2018
kelset pushed a commit that referenced this pull request Nov 26, 2018
Summary:
Adding the new `textContentType` options from iOS 12. `newPassword` helps the OS know to put a password field into the keychain, and `oneTimeCode` hints that the field will take input from an SMS one time code.
Pull Request resolved: #21079
Differential Revision: D9813328
Pulled By: TheSavior
fbshipit-source-id: d2c04b41121b32f185af38ea4c642924e261a043
@hramoshramos removed Import Started This pull request has been imported. This does not imply the PR has been approved. labels Feb 6, 2019
t-nanava pushed a commit to microsoft/react-native-macos that referenced this pull request Jun 17, 2019
Summary:
Adding the new `textContentType` options from iOS 12. `newPassword` helps the OS know to put a password field into the keychain, and `oneTimeCode` hints that the field will take input from an SMS one time code.
Pull Request resolved: react#21079
Differential Revision: D9813328
Pulled By: TheSavior
fbshipit-source-id: d2c04b41121b32f185af38ea4c642924e261a043
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.MergedThis PR has been merged.Platform: iOSiOS applications.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@ultramiraculous@react-native-bot@facebook-github-bot@eslint-bot@hramos