mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 17:15:54 +00:00
752b68857c
Summary: `visible-password` represents a very basic keyboard, typically only letters and numbers. Backed by InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD, it is useful for things like password and code entry fields. It can also be more effective than autoCorrect={false} for disabling autocompletion on some keyboards (like Gboard). Note `secureTextEntry` also affects `TYPE_TEXT_VARIATION_*` flags internally, so there may be some undefined behavior when combining `secureTextEntry` with `keyboardType="visible-password"` Also, while here, improve the documentation on TextInput to explicitly enumerate which keyboardType applies to Android vs. iOS (since this is the first android-specific) Reviewed By: shergin Differential Revision: D6005353 fbshipit-source-id: 13af90c96353f714c0e106dd0fde90184a476533