From 6d4f5100c190267c3d23309652445bbc2344eed6 Mon Sep 17 00:00:00 2001 From: ashwinmothilal Date: Thu, 17 Sep 2020 21:01:11 +0530 Subject: [PATCH 1/2] Removing `onTextInput` prop from TextInput doc. --- docs/textinput.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/docs/textinput.md b/docs/textinput.md index 98fc3a747a9..e638925f21b 100644 --- a/docs/textinput.md +++ b/docs/textinput.md @@ -563,16 +563,6 @@ Note that on iOS this method isn't called when using `keyboardType="phone-pad"`. --- -### `onTextInput` - -Callback that is called on new text input with the argument `{ nativeEvent: { text, previousText, range: { start, end } } }`. This prop requires `multiline={true}` to be set. - -| Type | Required | -| -------- | -------- | -| function | No | - ---- - ### `placeholder` The string that will be rendered before text input has been entered. From 3ac4b28863b025936abfef8753d98dae6a0556b9 Mon Sep 17 00:00:00 2001 From: ashwinmothilal Date: Fri, 18 Sep 2020 19:09:31 +0530 Subject: [PATCH 2/2] Removing `onTextInput` prop from TextInput on version 0.62 & 0.63. --- website/versioned_docs/version-0.62/textinput.md | 10 ---------- website/versioned_docs/version-0.63/textinput.md | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/website/versioned_docs/version-0.62/textinput.md b/website/versioned_docs/version-0.62/textinput.md index ca1d3fe7ffe..fe23da34c33 100644 --- a/website/versioned_docs/version-0.62/textinput.md +++ b/website/versioned_docs/version-0.62/textinput.md @@ -518,16 +518,6 @@ Note that on iOS this method isn't called when using `keyboardType="phone-pad"`. --- -### `onTextInput` - -Callback that is called on new text input with the argument `{ nativeEvent: { text, previousText, range: { start, end } } }`. This prop requires `multiline={true}` to be set. - -| Type | Required | -| -------- | -------- | -| function | No | - ---- - ### `placeholder` The string that will be rendered before text input has been entered. diff --git a/website/versioned_docs/version-0.63/textinput.md b/website/versioned_docs/version-0.63/textinput.md index 2abab395b4f..db29b2b2fe6 100644 --- a/website/versioned_docs/version-0.63/textinput.md +++ b/website/versioned_docs/version-0.63/textinput.md @@ -522,16 +522,6 @@ Note that on iOS this method isn't called when using `keyboardType="phone-pad"`. --- -### `onTextInput` - -Callback that is called on new text input with the argument `{ nativeEvent: { text, previousText, range: { start, end } } }`. This prop requires `multiline={true}` to be set. - -| Type | Required | -| -------- | -------- | -| function | No | - ---- - ### `placeholder` The string that will be rendered before text input has been entered.