Added secureTextEntry does not work with multiline
Summary: The title speaks for itself. Docs regarding secureTextEntry of TextInput were not descriptive enough. Owing to that, it took me more than an hour of debugging to find the issue of why the TextInput in my app was not hiding the input with secureTextEntry. <!-- Thank you for sending the PR! We appreciate you spending the time to work on these changes. Help us understand your motivation by explaining why you decided to make this change. You can learn more about contributing to React Native here: http://facebook.github.io/react-native/docs/contributing.html Happy contributing! --> Closes https://github.com/facebook/react-native/pull/16272 Differential Revision: D6060614 Pulled By: ericnakagawa fbshipit-source-id: 419ad6956e67b9adefae8d789b3fd76181c4194b
This commit is contained in:
parent
3088096684
commit
b9e141e900
|
@ -458,7 +458,7 @@ const TextInput = createReactClass({
|
|||
placeholderTextColor: ColorPropType,
|
||||
/**
|
||||
* If `true`, the text input obscures the text entered so that sensitive text
|
||||
* like passwords stay secure. The default value is `false`.
|
||||
* like passwords stay secure. The default value is `false`. Does not work with 'multiline={true}'.
|
||||
*/
|
||||
secureTextEntry: PropTypes.bool,
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue