From 28b01ac6cc969ac9c57d5a5f86a63ff3ba4242e4 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Sun, 31 Jul 2016 22:49:31 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/textinput.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/releases/next/docs/textinput.html b/releases/next/docs/textinput.html index 5e66fd51e8a..dae5a06c9ee 100644 --- a/releases/next/docs/textinput.html +++ b/releases/next/docs/textinput.html @@ -145,7 +145,12 @@ unwanted edits without flicker.

#

When the clear button should appear on the right side of the text view.

iosclearTextOnFocus PropTypes.bool #

If true, clears the text field automatically when editing begins.

iosenablesReturnKeyAutomatically PropTypes.bool #

If true, the keyboard disables the return key when there is no text and +]) #

When the clear button should appear on the right side of the text view.

iosclearTextOnFocus PropTypes.bool #

If true, clears the text field automatically when editing begins.

iosdataDetectorTypes PropTypes.oneOfType([ + PropTypes.oneOf(DataDetectorTypes), + PropTypes.arrayOf(PropTypes.oneOf(DataDetectorTypes)), +]) #

Determines the types of data converted to clickable URLs in the text input. +Only valid if multiline={true} and editable={false}. +By default no data types are detected.

You can provide one type or an array of many types.

Possible values for dataDetectorTypes are:

  • 'phoneNumber'
  • 'link'
  • 'address'
  • 'calendarEvent'
  • 'none'
  • 'all'

iosenablesReturnKeyAutomatically PropTypes.bool #

If true, the keyboard disables the return key when there is no text and automatically enables it when there is text. The default value is false.

ioskeyboardAppearance PropTypes.oneOf([ 'default', 'light', @@ -823,6 +828,13 @@ exports.examples ={true} style={styles.multiline} /> + <TextInput + defaultValue="uneditable multiline text input with phone number detection: 88888888." + editable={false} + multiline={true} + style={styles.multiline} + dataDetectorTypes="phoneNumber" + /> <TextInput placeholder="multiline with children" multiline={true}