Skip to content
Browse files
fix: prop name for passwordRules (#27999)
There was a typo in passwordRules prop for TextInput.


## Changelog

[iOS] [Fixed] - Fix prop name of passwordRules in TextInput
Pull Request resolved: #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
  • Loading branch information
Naturalclar authored and facebook-github-bot committed Feb 10, 2020
1 parent 2bc2b43 commit 3f5c42f357d58268d0a0fd1bfc639f41feab937c
Showing 1 changed file with 7 additions and 1 deletion.
@@ -267,7 +267,13 @@ type IOSProps = $ReadOnly<{|
textContentType?: ?TextContentType,

PasswordRules?: ?PasswordRules,
* Provide rules for your password.
* For example, say you want to require a password with at least eight characters consisting of a mix of uppercase and lowercase letters, at least one number, and at most two consecutive characters.
* "required: upper; required: lower; required: digit; max-consecutive: 2; minlength: 8;"
* @platform ios
passwordRules?: ?PasswordRules,

* @platform ios

0 comments on commit 3f5c42f

Please sign in to comment.