diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index 4cce22b23bf..9b96c0d162a 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -245,6 +245,25 @@ const TextInput = createReactClass({ * - `numeric` * - `email-address` * - `phone-pad` + * + * *iOS Only* + * + * The following values work on iOS only: + * + * - `ascii-capable` + * - `numbers-and-punctuation` + * - `url` + * - `number-pad` + * - `name-phone-pad` + * - `decimal-pad` + * - `twitter` + * - `web-search` + * + * *Android Only* + * + * The following values work on Android only: + * + * - `visible-password` */ keyboardType: PropTypes.oneOf([ // Cross-platform @@ -261,6 +280,8 @@ const TextInput = createReactClass({ 'decimal-pad', 'twitter', 'web-search', + // Android-only + 'visible-password', ]), /** * Determines the color of the keyboard. diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.java b/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.java index 44849d3b00e..70d9a461b3d 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.java @@ -77,6 +77,7 @@ public class ReactTextInputManager extends BaseViewManager