diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index c08033e8d43fb7..ef8d6a81f12383 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -86,12 +86,12 @@ export type KeyboardType = | 'numeric' | 'phone-pad' | 'number-pad' + | 'decimal-pad' // iOS-only | 'ascii-capable' | 'numbers-and-punctuation' | 'url' | 'name-phone-pad' - | 'decimal-pad' | 'twitter' | 'web-search' // Android-only @@ -388,6 +388,7 @@ const TextInput = createReactClass({ * - `default` * - `numeric` * - `number-pad` + * - `decimal-pad` * - `email-address` * - `phone-pad` * @@ -399,7 +400,6 @@ const TextInput = createReactClass({ * - `numbers-and-punctuation` * - `url` * - `name-phone-pad` - * - `decimal-pad` * - `twitter` * - `web-search` * 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 9311a74ab7d0f0..3ee99b6c84c64e 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 @@ -70,8 +70,9 @@ public class ReactTextInputManager extends BaseViewManager