Skip to content

fix: prop name for passwordRules#27999

Closed
Naturalclar wants to merge 1 commit intofacebook:masterfrom
Naturalclar:fix/passwordRules
Closed

fix: prop name for passwordRules#27999
Naturalclar wants to merge 1 commit intofacebook:masterfrom
Naturalclar:fix/passwordRules

Conversation

@Naturalclar
Copy link
Copy Markdown
Contributor

@Naturalclar Naturalclar commented Feb 8, 2020

Summary

There was a typo in passwordRules prop for TextInput.

ref:
https://github.com/facebook/react-native/blob/master/ReactCommon/fabric/components/textinput/iostextinput/propsConversions.h#L106-L110
https://github.com/facebook/react-native/blob/master/Libraries/Components/TextInput/RCTSinglelineTextInputViewConfig.js#L126

Changelog

[iOS] [Fixed] - Fix prop name of passwordRules in TextInput

Test Plan

run flow type check with TextInput that has passwordRules in the prop.

@facebook-github-bot facebook-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 Feb 8, 2020
@pull-bot
Copy link
Copy Markdown

pull-bot commented Feb 8, 2020

Messages
📖 📋 Missing Test Plan - Can you add a Test Plan? To do so, add a "## Test Plan" section to your PR description. A Test Plan lets us know how these changes were tested.

Generated by 🚫 dangerJS against 33ec987

@react-native-bot react-native-bot added Bug Platform: iOS iOS applications. labels Feb 8, 2020
@elicwhite
Copy link
Copy Markdown
Member

Thanks for adding the documentation too

Copy link
Copy Markdown
Contributor

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

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

This pull request was successfully merged by @Naturalclar in 3f5c42f.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Feb 10, 2020
@Naturalclar Naturalclar deleted the fix/passwordRules branch February 11, 2020 17:29
osdnk pushed a commit to osdnk/react-native that referenced this pull request Mar 9, 2020
Summary:
There was a typo in passwordRules prop for TextInput.

ref:
https://github.com/facebook/react-native/blob/master/ReactCommon/fabric/components/textinput/iostextinput/propsConversions.h#L106-L110
https://github.com/facebook/react-native/blob/master/Libraries/Components/TextInput/RCTSinglelineTextInputViewConfig.js#L126

## Changelog

[iOS] [Fixed] - Fix prop name of passwordRules in TextInput
Pull Request resolved: facebook#27999

Test Plan: run `flow` type check with TextInput that has `passwordRules` in the prop.

Differential Revision: D19805819

Pulled By: TheSavior

fbshipit-source-id: a59729c466eb3f47675c7f1472bec269d6c3ed5d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Platform: iOS iOS applications.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants